Fix tests
This commit is contained in:
@@ -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''
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user