mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Elevate --verbose to top-level option (#590)
* Elevate --verbose to be usable for all commands * Fix tests
This commit is contained in:
@@ -236,8 +236,8 @@ async def test_discover(discovery_mock, mocker):
|
||||
"foo",
|
||||
"--password",
|
||||
"bar",
|
||||
"discover",
|
||||
"--verbose",
|
||||
"discover",
|
||||
],
|
||||
)
|
||||
assert res.exit_code == 0
|
||||
@@ -255,8 +255,8 @@ async def test_discover_unsupported(unsupported_device_info):
|
||||
"foo",
|
||||
"--password",
|
||||
"bar",
|
||||
"discover",
|
||||
"--verbose",
|
||||
"discover",
|
||||
],
|
||||
)
|
||||
assert res.exit_code == 0
|
||||
@@ -306,8 +306,8 @@ async def test_discover_auth_failed(discovery_mock, mocker):
|
||||
"foo",
|
||||
"--password",
|
||||
"bar",
|
||||
"discover",
|
||||
"--verbose",
|
||||
"discover",
|
||||
],
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user