From e496f8009c5b5cebcab23a3653e4cb186a721e43 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 26 Apr 2021 15:22:09 +0200 Subject: [PATCH] replicate bug in test --- tests/test_device_find.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_device_find.py b/tests/test_device_find.py index 12d6c3d8..476ec36d 100644 --- a/tests/test_device_find.py +++ b/tests/test_device_find.py @@ -248,6 +248,8 @@ def test_device_query_search(user: UserClient): assert i['items'][0]['id'] == 1 i, _ = user.get(res=Device, query=[('search', 'intel')]) assert len(i['items']) == 1 + i, _ = user.get(res=Device, query=[('search', i['items'][0]['devicehubID'])]) + assert len(i['items']) == 1 i, _ = user.get(res=Device, query=[('search', '1')]) assert len(i['items']) == 1