mirror of https://github.com/docker/compose.git
Merge pull request #3356 from metal3d/fix-help-acceptance-test
Fix the tests from jenkins
This commit is contained in:
commit
8a34ee0eaa
|
@ -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…
Reference in New Issue