Browse Source

Fix the tests from jenkins

Acceptance tests didn't set "help" command to return "0" EXIT_CODE.

close #3354
related #3263

Signed-off-by: Patrice Ferlet <[email protected]>
Patrice FERLET 9 years ago
parent
commit
ba10f1cd55
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/acceptance/cli_test.py

+ 2 - 2
tests/acceptance/cli_test.py

@@ -140,8 +140,8 @@ class CLITestCase(DockerClientTestCase):
 
     def test_help(self):
         self.base_dir = 'tests/fixtures/no-composefile'
-        result = self.dispatch(['help', 'up'], returncode=1)
-        assert 'Usage: up [options] [SERVICE...]' in result.stderr
+        result = self.dispatch(['help', 'up'], returncode=0)
+        assert 'Usage: up [options] [SERVICE...]' in result.stdout
         # Prevent tearDown from trying to create a project
         self.base_dir = None