def routerdata(): """Set up a router data for testing.""" rd = huawei_lte.RouterData(None) rd.device_information = { 'SoftwareVersion': '1.0', 'nested': {'foo': 'bar'}, } return rd
def routerdata(): """Set up a router data for testing.""" rd = huawei_lte.RouterData(Mock(), "de:ad:be:ef:00:00") rd.device_information = { "SoftwareVersion": "1.0", "nested": { "foo": "bar" } } return rd