mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-22 15:28:01 +00:00
Update ks240 fixture with child device query info (#890)
The fixture now includes the queries returned directly from the child devices which is stored under child_devices along with valid device ids. Also fixes a bug in the test_cli.py::test_wifi_scan which fails with more than 9 networks.
This commit is contained in:
@@ -196,7 +196,7 @@ async def test_wifi_scan(dev, runner):
|
||||
res = await runner.invoke(wifi, ["scan"], obj=dev)
|
||||
|
||||
assert res.exit_code == 0
|
||||
assert re.search(r"Found \d wifi networks!", res.output)
|
||||
assert re.search(r"Found [\d]+ wifi networks!", res.output)
|
||||
|
||||
|
||||
@device_smart
|
||||
|
Reference in New Issue
Block a user