mirror of https://github.com/docker/compose.git
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):
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue