diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-05-02 00:21:02 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-05-02 00:21:02 -0400 |
commit | 1bade4202d9a8df2be9561bc8d3a9cb26fefd7b0 (patch) | |
tree | a78cd5b362fe8d7030859e0d7e21e800a726cf19 /tests | |
parent | 9c7e400d69852f9d490f2e38771e15087d52103e (diff) | |
download | cmd2-git-1bade4202d9a8df2be9561bc8d3a9cb26fefd7b0.tar.gz |
Macros can now share their name with a command
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cmd2.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 22f250ac..74eb8c9b 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1712,11 +1712,6 @@ def test_macro_create_with_alias_name(base_app): out, err = run_cmd(base_app, 'macro create {} help'.format(macro)) assert "Macro cannot have the same name as an alias" in err[0] -def test_macro_create_with_command_name(base_app): - macro = "my_macro" - out, err = run_cmd(base_app, 'macro create help stuff') - assert "Macro cannot have the same name as a command" in err[0] - def test_macro_create_with_args(base_app): # Create the macro out, err = run_cmd(base_app, 'macro create fake {1} {2}') |