mirror of
https://gitee.com/openharmony/developtools_hdc
synced 2024-11-27 01:00:45 +00:00
update scripts/hdc_normal_test.py.
Signed-off-by: liupeng298 <liupeng298@huawei.com>
This commit is contained in:
parent
4ae601a363
commit
f79730b8d1
@ -51,11 +51,11 @@ def test_list_targets():
|
||||
|
||||
|
||||
def test_usb_disconnect():
|
||||
assert check_hdc_targets()
|
||||
cmd = 'shell "kill -9 `pidof hdcd`"'
|
||||
check_hdc_cmd(f"{cmd}", "[Fail][E001003] USB communication abnormal, please check the USB communication link.")
|
||||
time.sleep(2)
|
||||
assert check_hdc_targets()
|
||||
assert check_hdc_targets()
|
||||
cmd = 'shell "kill -9 `pidof hdcd`"'
|
||||
check_hdc_cmd(f"{cmd}", "[Fail][E001003] USB communication abnormal, please check the USB communication link.")
|
||||
time.sleep(2)
|
||||
assert check_hdc_targets()
|
||||
|
||||
|
||||
def test_list_targets_multi_usb_device():
|
||||
|
Loading…
Reference in New Issue
Block a user