From 34be1df7a294da491db7b80095e71d1c0e41a6c3 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 13 Nov 2020 12:48:44 +0100 Subject: [PATCH] fixed bug in test --- tests/test_device.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_device.py b/tests/test_device.py index 50e7c147..76cf4de6 100644 --- a/tests/test_device.py +++ b/tests/test_device.py @@ -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) 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 len([c for c in devices['items'][0]['components'] if c['type'] == 'NetworkAdapter']) == 1 @pytest.mark.mvp