From 1bade4202d9a8df2be9561bc8d3a9cb26fefd7b0 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Thu, 2 May 2019 00:21:02 -0400 Subject: Macros can now share their name with a command --- tests/test_cmd2.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests') 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}') -- cgit v1.2.1