From 4e90a2fd424eeb078957b779a211d9643c516566 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Dec 2015 01:14:02 +0200 Subject: [PATCH] Fix test for settings command --- tests/commands/test_settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/commands/test_settings.py b/tests/commands/test_settings.py index 312b0e80..b12d398e 100644 --- a/tests/commands/test_settings.py +++ b/tests/commands/test_settings.py @@ -18,7 +18,8 @@ from platformio import app def test_settings_check(clirunner, validate_cliresult): result = clirunner.invoke(cli, ["get"]) - validate_cliresult(result) + assert result.exit_code == 0 + assert not result.exception assert len(result.output) for item in app.DEFAULT_SETTINGS.items(): assert item[0] in result.output