mirror of
https://github.com/docker/compose.git
synced 2025-07-21 04:34:38 +02:00
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 <metal3d@gmail.com>
This commit is contained in:
parent
cafe1315b2
commit
ba10f1cd55
@ -140,8 +140,8 @@ class CLITestCase(DockerClientTestCase):
|
|||||||
|
|
||||||
def test_help(self):
|
def test_help(self):
|
||||||
self.base_dir = 'tests/fixtures/no-composefile'
|
self.base_dir = 'tests/fixtures/no-composefile'
|
||||||
result = self.dispatch(['help', 'up'], returncode=1)
|
result = self.dispatch(['help', 'up'], returncode=0)
|
||||||
assert 'Usage: up [options] [SERVICE...]' in result.stderr
|
assert 'Usage: up [options] [SERVICE...]' in result.stdout
|
||||||
# Prevent tearDown from trying to create a project
|
# Prevent tearDown from trying to create a project
|
||||||
self.base_dir = None
|
self.base_dir = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user