mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-07-08 14:52:03 +00:00
tests: fix typos, child device subtype, CLI patch path, and deprecation test logic (#1677)
This commit is contained in:
@@ -130,9 +130,7 @@ async def test_list_devices(discovery_mock, runner):
|
||||
|
||||
async def test_discover_raw(discovery_mock, runner, mocker):
|
||||
"""Test the discover raw command."""
|
||||
redact_spy = mocker.patch(
|
||||
"kasa.protocols.protocol.redact_data", side_effect=redact_data
|
||||
)
|
||||
redact_spy = mocker.patch("kasa.cli.discover.redact_data", side_effect=redact_data)
|
||||
res = await runner.invoke(
|
||||
cli,
|
||||
["--username", "foo", "--password", "bar", "discover", "raw"],
|
||||
|
||||
Reference in New Issue
Block a user