mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-20 06:18:01 +00:00
Implement choice feature type (#880)
Implement the choice feature type allowing to provide a list of choices that can be set. Co-authored-by: sdb9696
This commit is contained in:
@@ -354,9 +354,6 @@ async def test_credentials(discovery_mock, mocker, runner):
|
||||
|
||||
mocker.patch("kasa.cli.state", new=_state)
|
||||
|
||||
mocker.patch("kasa.IotProtocol.query", return_value=discovery_mock.query_data)
|
||||
mocker.patch("kasa.SmartProtocol.query", return_value=discovery_mock.query_data)
|
||||
|
||||
dr = DiscoveryResult(**discovery_mock.discovery_data["result"])
|
||||
res = await runner.invoke(
|
||||
cli,
|
||||
|
Reference in New Issue
Block a user