diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-27 21:52:38 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-27 21:52:38 -0400 |
commit | a67c694c153fd1d15c266d89bab29076d00919d5 (patch) | |
tree | 560dc2c7563e0cf4712e600c2f6c254e666c223d /tests/test_cmd2.py | |
parent | 848372592577f02e03c063c6ec29a349a0f40071 (diff) | |
parent | b4e217239cf176b96aeb3b124eef3609e688d791 (diff) | |
download | cmd2-git-a67c694c153fd1d15c266d89bab29076d00919d5.tar.gz |
Merge branch 'macro' into argparse_conversion
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 37a5ed96..a87cba18 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1852,7 +1852,7 @@ def test_alias_create_with_macro_name(base_app, capsys): run_cmd(base_app, 'macro create {} help'.format(macro)) run_cmd(base_app, 'alias create {} help'.format(macro)) out, err = capsys.readouterr() - assert "Aliases cannot have the same name as a macro" in err + assert "Alias cannot have the same name as a macro" in err def test_alias_list_invalid_alias(base_app, capsys): # Look up invalid alias @@ -1953,13 +1953,13 @@ def test_macro_create_with_alias_name(base_app, capsys): run_cmd(base_app, 'alias create {} help'.format(macro)) run_cmd(base_app, 'macro create {} help'.format(macro)) out, err = capsys.readouterr() - assert "Macros cannot have the same name as an alias" in err + assert "Macro cannot have the same name as an alias" in err def test_macro_create_with_command_name(base_app, capsys): macro = "my_macro" run_cmd(base_app, 'macro create help stuff') out, err = capsys.readouterr() - assert "Macros cannot have the same name as a command" in err + assert "Macro cannot have the same name as a command" in err def test_macro_create_with_args(base_app, capsys): # Create the macro |