mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix test for settings command
This commit is contained in:
@ -18,7 +18,8 @@ from platformio import app
|
|||||||
|
|
||||||
def test_settings_check(clirunner, validate_cliresult):
|
def test_settings_check(clirunner, validate_cliresult):
|
||||||
result = clirunner.invoke(cli, ["get"])
|
result = clirunner.invoke(cli, ["get"])
|
||||||
validate_cliresult(result)
|
assert result.exit_code == 0
|
||||||
|
assert not result.exception
|
||||||
assert len(result.output)
|
assert len(result.output)
|
||||||
for item in app.DEFAULT_SETTINGS.items():
|
for item in app.DEFAULT_SETTINGS.items():
|
||||||
assert item[0] in result.output
|
assert item[0] in result.output
|
||||||
|
Reference in New Issue
Block a user