Fix tests

This commit is contained in:
Sunil Shah
2015-04-05 23:51:06 -07:00
parent 6711d68ef1
commit 2b0cf89661
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ Environment Variables:
DCOS_CONFIG This environment variable points to the
location of the DCOS configuration file.
'dcos help --all' lists all available subcommands. See 'dcos <command> --help'
'dcos help' lists all available subcommands. See 'dcos <command> --help'
to read about a specific subcommand.
"""
assert stderr == b''

View File

@@ -38,9 +38,9 @@ def test_version():
assert stderr == b''
def test_list_all():
def test_list():
dcos_path = os.path.dirname(os.path.dirname(util.which('dcos')))
returncode, stdout, stderr = exec_command(['dcos', 'help', '--all'])
returncode, stdout, stderr = exec_command(['dcos', 'help'])
assert returncode == 0
assert stdout == """Command line utility for \