diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-10 11:51:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 11:51:16 -0500 |
commit | bf9b87605a19fc2bb1a01435b3f11f66b18fed93 (patch) | |
tree | a540014ec1dabbefa48e30289462d3315c85f7ce /tests/test_cmd2.py | |
parent | 48cdf7d984a738e577a0867716804216c474cc18 (diff) | |
parent | 9f599fb73a5ce0fb2548b94391883f37a0ca173b (diff) | |
download | cmd2-git-bf9b87605a19fc2bb1a01435b3f11f66b18fed93.tar.gz |
Merge pull request #883 from python-cmd2/flag_rename
do_set flag rename
Diffstat (limited to 'tests/test_cmd2.py')
-rwxr-xr-x | tests/test_cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index e0b2ba9d..376658e5 100755 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -79,7 +79,7 @@ def test_base_argparse_help(base_app): def test_base_invalid_option(base_app): out, err = run_cmd(base_app, 'set -z') - assert err[0] == 'Usage: set [-h] [-l] [param] [value]' + assert err[0] == 'Usage: set [-h] [-v] [param] [value]' assert 'Error: unrecognized arguments: -z' in err[1] def test_base_shortcuts(base_app): @@ -103,7 +103,7 @@ def test_base_show(base_app): def test_base_show_long(base_app): # force editor to be 'vim' so test is repeatable across platforms base_app.editor = 'vim' - out, err = run_cmd(base_app, 'set -l') + out, err = run_cmd(base_app, 'set -v') expected = normalize(SHOW_LONG) assert out == expected |