summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-27 14:49:57 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-27 14:49:57 -0400
commita42b4176e1cbf77c8e78ce2c3069fc93567d336b (patch)
tree08a370dca5365749ac71234254eb5fee25256dbd /tests/test_cmd2.py
parent221bdad25f014b38f2762cbbe684fa341add6d6c (diff)
downloadcmd2-git-a42b4176e1cbf77c8e78ce2c3069fc93567d336b.tar.gz
Addressing code review comments
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r--tests/test_cmd2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 5b8fedaa..daca3087 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1851,7 +1851,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
@@ -1952,13 +1952,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