Merge pull request #3356 from metal3d/fix-help-acceptance-test

Fix the tests from jenkins
This commit is contained in:
Daniel Nephin 2016-04-20 12:18:20 -04:00
commit 8a34ee0eaa
1 changed files with 2 additions and 2 deletions

View File

@ -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