From 5c105a9bcbafcae3e3838dd0f39f8cf21d35285b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 18 Aug 2016 23:51:32 +0300 Subject: [PATCH] Fix CI test --- tests/commands/test_ci.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/commands/test_ci.py b/tests/commands/test_ci.py index 290c9720..884e9b50 100644 --- a/tests/commands/test_ci.py +++ b/tests/commands/test_ci.py @@ -14,14 +14,13 @@ from os.path import join -from platformio import exception from platformio.commands.ci import cli as cmd_ci def test_ci_empty(clirunner): result = clirunner.invoke(cmd_ci) - assert result.exit_code == -1 - assert isinstance(result.exception, exception.CIBuildEnvsEmpty) + assert result.exit_code == 2 + assert "Invalid value: Missing argument 'src'" in result.output def test_ci_boards(clirunner, validate_cliresult):