fixed bug in test

This commit is contained in:
Cayo Puigdefabregas 2020-11-13 12:48:44 +01:00
parent 62e52f145f
commit 34be1df7a2
1 changed files with 1 additions and 0 deletions

View File

@ -663,6 +663,7 @@ def test_hid_with_2network_and_drop_no_mac_in_hid(app: Devicehub, user: UserClie
devices, _ = user.get(res=d.Device) devices, _ = user.get(res=d.Device)
assert len([c for c in devices['items'] if c['type'] == 'Laptop']) == 1 assert len([c for c in devices['items'] if c['type'] == 'Laptop']) == 1
assert devices['items'][0]['hid'] == 'laptop-asustek_computer_inc-1000h-94oaaq021116-00:24:8c:7f:cf:2d' assert devices['items'][0]['hid'] == 'laptop-asustek_computer_inc-1000h-94oaaq021116-00:24:8c:7f:cf:2d'
assert len([c for c in devices['items'][0]['components'] if c['type'] == 'NetworkAdapter']) == 1
@pytest.mark.mvp @pytest.mark.mvp