diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-31 03:48:31 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-31 03:48:31 -0400 |
commit | 0724d38c9efe36400b776454d01d081f3db7ee63 (patch) | |
tree | a4244193de83888ba6d4d89c9fb953d23b1466dc /tests/test_cmd2.py | |
parent | ad76ceccbc6d4df553822d586b633ffb13fba4a6 (diff) | |
download | cmd2-git-0724d38c9efe36400b776454d01d081f3db7ee63.tar.gz |
Allow an alias name to match a command name
Diffstat (limited to 'tests/test_cmd2.py')
-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 20d477ba..9b64a5e3 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1560,11 +1560,6 @@ def test_alias(base_app, capsys): out = run_cmd(base_app, 'alias') assert out == normalize('alias fake pyscript') -def test_alias_with_cmd_name(base_app, capsys): - run_cmd(base_app, 'alias help eos') - out, err = capsys.readouterr() - assert "cannot match an existing command" in err - def test_alias_with_invalid_name(base_app, capsys): run_cmd(base_app, 'alias @ help') out, err = capsys.readouterr() |