diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-01-22 16:15:41 -0500 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-01-22 16:15:41 -0500 |
| commit | 4bdb20a1419f104637aecd5194c643a82412e035 (patch) | |
| tree | 4f38e3195eead417e81312d7f56c6d7b995e38b3 /tests | |
| parent | b2c7113bc74c802bc8822dd1f0659339e8147380 (diff) | |
| download | cmd2-git-4bdb20a1419f104637aecd5194c643a82412e035.tar.gz | |
Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_argparse.py | 2 | ||||
| -rwxr-xr-x | tests/test_completion.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_argparse.py b/tests/test_argparse.py index e7806056..72d9ae92 100644 --- a/tests/test_argparse.py +++ b/tests/test_argparse.py @@ -195,7 +195,7 @@ def test_argparser_correct_args_with_quotes_and_midline_options(argparse_app): def test_argparser_and_unknown_args_kwargs(argparse_app, capsys): - """Test with_argparser_and_unknown_args wrapper passes through kwargs to command function""" + """Test with_argparser wrapper passing through kwargs to command function""" argparse_app.do_speak('', keyword_arg="foo") out, err = capsys.readouterr() assert out == "foo\n" diff --git a/tests/test_completion.py b/tests/test_completion.py index 2f4e34c3..3eab8572 100755 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -1155,7 +1155,7 @@ class SubcommandsWithUnknownExample(cmd2.Cmd): @pytest.fixture def scu_app(): - """Declare test fixture for with_argparser_and_unknown_args""" + """Declare test fixture for with_argparser decorator""" app = SubcommandsWithUnknownExample() return app |
