test: fix multiple devices cases fail on python3
This commit is contained in:
parent
07f186a6a5
commit
269af21ce6
|
@ -354,7 +354,7 @@ class Handler(threading.Thread):
|
||||||
|
|
||||||
def device_wait_action(data):
|
def device_wait_action(data):
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
expected_signal = data[0]
|
expected_signal = data[0].encode('utf-8')
|
||||||
while 1:
|
while 1:
|
||||||
if time.time() > start_time + self.timeout:
|
if time.time() > start_time + self.timeout:
|
||||||
Utility.console_log("Timeout in device for function: %s" % self.child_case_name, color="orange")
|
Utility.console_log("Timeout in device for function: %s" % self.child_case_name, color="orange")
|
||||||
|
|
Loading…
Reference in a new issue