diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-21 19:33:27 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-21 19:33:27 -0400 |
commit | b82216c505c52abafdd867f222cd36b1d5c9b690 (patch) | |
tree | a343c10cf94b1e1f2b5a9113f46fbbd6dee7b499 /tests/test_cmd2.py | |
parent | 86f5a2886cc14fd18933e0a201e064ac7e6fd2d1 (diff) | |
download | cmd2-git-b82216c505c52abafdd867f222cd36b1d5c9b690.tar.gz |
Changed error messages
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | 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 01e6e271..d4dbfe55 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1617,7 +1617,7 @@ def test_alias_delete_non_existing(base_app): def test_alias_delete_no_name(base_app): out, err = run_cmd(base_app, 'alias delete') - assert "Usage: alias delete" in out[0] + assert "Either --all or alias name(s)" in err[0] def test_multiple_aliases(base_app): alias1 = 'h1' @@ -1768,7 +1768,7 @@ def test_macro_delete_non_existing(base_app): def test_macro_delete_no_name(base_app): out, err = run_cmd(base_app, 'macro delete') - assert "Usage: macro delete" in out[0] + assert "Either --all or macro name(s)" in err[0] def test_multiple_macros(base_app): macro1 = 'h1' |