mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Cleanup cli output (#1000)
Avoid unnecessary indentation of elements, now only the child device information is indented Use _echo_all_features consistently for both state and feature Avoid discovery log message which brings no extra value Hide location by default
This commit is contained in:
@@ -839,7 +839,10 @@ async def test_features_all(discovery_mock, mocker, runner):
|
||||
["--host", "127.0.0.123", "--debug", "feature"],
|
||||
catch_exceptions=False,
|
||||
)
|
||||
assert "== Features ==" in res.output
|
||||
assert "== Primary features ==" in res.output
|
||||
assert "== Information ==" in res.output
|
||||
assert "== Configuration ==" in res.output
|
||||
assert "== Debug ==" in res.output
|
||||
assert res.exit_code == 0
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user