From 2fd85015d9f08a539dea1f8c63c1f1e2da54ab2d Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Wed, 5 Feb 2020 22:15:11 -0500 Subject: No longer displaying list of subcommands in usage text of alias and macro --- tests/test_cmd2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index fecab628..0b4c60d6 100755 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1552,7 +1552,7 @@ def test_get_settable_completion_items(base_app): def test_alias_no_subcommand(base_app): out, err = run_cmd(base_app, 'alias') assert "Usage: alias [-h]" in err[0] - assert "Error: the following arguments are required: subcommand" in err[1] + assert "Error: the following arguments are required: SUBCOMMAND" in err[1] def test_alias_create(base_app): # Create the alias @@ -1646,7 +1646,7 @@ def test_multiple_aliases(base_app): def test_macro_no_subcommand(base_app): out, err = run_cmd(base_app, 'macro') assert "Usage: macro [-h]" in err[0] - assert "Error: the following arguments are required: subcommand" in err[1] + assert "Error: the following arguments are required: SUBCOMMAND" in err[1] def test_macro_create(base_app): # Create the macro -- cgit v1.2.1