Skip to content

Commit e402dbe

Browse files
author
vhristov5555
committed
Fix install adb reboot assert method.
1 parent 422f525 commit e402dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/device/helpers/adb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,5 +405,5 @@ def reboot_device(device_id):
405405
"""
406406
command = 'reboot'
407407
output = Adb.run(command=command, device_id=device_id)
408-
assert 'Events injected: 1' in output, 'Failed to start reboot.'
408+
assert '' in output, 'Failed to reboot the device.Error:' + output
409409
print 'Reboot started successfully.'

0 commit comments

Comments
 (0)