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:
Steven B
2024-05-01 16:05:37 +01:00
committed by GitHub
parent 3fc131dfd2
commit b2194a1c62
2 changed files with 436 additions and 19 deletions

View File

@@ -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