replicate bug in test
This commit is contained in:
parent
cc687fa4ea
commit
e496f8009c
|
@ -248,6 +248,8 @@ def test_device_query_search(user: UserClient):
|
||||||
assert i['items'][0]['id'] == 1
|
assert i['items'][0]['id'] == 1
|
||||||
i, _ = user.get(res=Device, query=[('search', 'intel')])
|
i, _ = user.get(res=Device, query=[('search', 'intel')])
|
||||||
assert len(i['items']) == 1
|
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')])
|
i, _ = user.get(res=Device, query=[('search', '1')])
|
||||||
assert len(i['items']) == 1
|
assert len(i['items']) == 1
|
||||||
|
|
||||||
|
|
Reference in a new issue