Skip to content
Snippets Groups Projects
Commit cee3349d authored by Taya Snijder's avatar Taya Snijder
Browse files

fixed unit test bug caused by wrong logger statement

parent 25a05c06
No related branches found
No related tags found
1 merge request!164Resolve L2SS-334 "2021 10 21 replace streams with logger"
......@@ -31,7 +31,7 @@ str_image_val = [['1','1'],['1','1'],['1','1']]
def dev_init(device):
device.set_state(DevState.INIT)
device.test_client = test_client(device.Fault, device)
device.test_client = test_client(device.Fault)
for i in device.attr_list():
asyncio.run(i.async_set_comm_client(device.test_client))
device.test_client.start()
......
......@@ -52,7 +52,7 @@ class test_client(CommClient):
"""
# as this is an example, just print the annotation
self.logger.debug("annotation: {}".format(annotation))
logger.debug("annotation: {}".format(annotation))
def _setup_value_conversion(self, attribute):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment