Skip to content

Commit aa56f93

Browse files
authored
Merge pull request #86 from plugwise/Fix_testfixtures
No need for device_data fixtures anymore
2 parents d6e4c05 + 37109e4 commit aa56f93

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/test_smile.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -415,17 +415,6 @@ async def device_test(self, smile=pw_smile.Smile, testdata=None):
415415
_LOGGER.info("Hostname = %s", smile.smile_hostname)
416416
self.show_setup(location_list, device_list)
417417
pp4 = PrettyPrinter(indent=4)
418-
# pp8 = PrettyPrinter(indent=8)
419-
# _LOGGER.debug("Device list:\n%s", pp4.pformat(device_list))
420-
for dev_id, details in device_list.items():
421-
data = smile.gw_devices[dev_id]
422-
self._write_json("device_data/" + dev_id, data)
423-
_LOGGER.debug(
424-
"%s",
425-
"Device {} id:{}\nDetails:\n{}".format(
426-
details["name"], dev_id, pp4.pformat(details)
427-
),
428-
)
429418

430419
for testdevice, measurements in testdata.items():
431420
assert testdevice in device_list

0 commit comments

Comments
 (0)