diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-08-24 15:11:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 15:11:25 -0400 |
commit | 42094e0d43c1a7373f4ed96d8d72dcf16f77a5f6 (patch) | |
tree | c517504559b45aff02e0d1da86d1ee30ef4454b7 /tests/test_autocompletion.py | |
parent | 8c0abd3c1adb204737851c06cb9eeba16791f2c4 (diff) | |
parent | a5d4c71072ecb9a4c07fb88a8694726eaf5400a7 (diff) | |
download | cmd2-git-42094e0d43c1a7373f4ed96d8d72dcf16f77a5f6.tar.gz |
Merge pull request #508 from python-cmd2/ac_parser
ACHelpFormatter now inherits from argparse.RawTextHelpFormatter
Diffstat (limited to 'tests/test_autocompletion.py')
-rw-r--r-- | tests/test_autocompletion.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_autocompletion.py b/tests/test_autocompletion.py index e0a71831..8aa26e0e 100644 --- a/tests/test_autocompletion.py +++ b/tests/test_autocompletion.py @@ -19,8 +19,8 @@ def cmd2_app(): SUGGEST_HELP = '''Usage: suggest -t {movie, show} [-h] [-d DURATION{1..2}] -Suggest command demonstrates argparse customizations See hybrid_suggest and -orig_suggest to compare the help output. +Suggest command demonstrates argparse customizations. +See hybrid_suggest and orig_suggest to compare the help output. required arguments: -t, --type {movie, show} @@ -59,7 +59,7 @@ def test_help_required_group(cmd2_app, capsys): assert out1 == out2 assert out1[0].startswith('Usage: suggest') assert out1[1] == '' - assert out1[2].startswith('Suggest command demonstrates argparse customizations ') + assert out1[2].startswith('Suggest command demonstrates argparse customizations.') assert out1 == normalize(SUGGEST_HELP) |