diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-16 16:46:39 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-16 16:46:39 -0400 |
| commit | 9efa579d3273d7d0d04d730e1025637bdf59e3bd (patch) | |
| tree | 5f4cd767c932211284dd88a480e3d91c74563abf | |
| parent | 624f3ac76be348a291264a53bb9ae808ba3034c8 (diff) | |
| download | cmd2-git-9efa579d3273d7d0d04d730e1025637bdf59e3bd.tar.gz | |
Fixing unit tests
| -rw-r--r-- | tests/conftest.py | 3 | ||||
| -rw-r--r-- | tests/test_parsing.py | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 5ee5dd58..58ec8ee0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,7 +15,8 @@ import cmd2 # Help text for base cmd2.Cmd application BASE_HELP = """Documented commands (type help <topic>): ======================================== -edit help history load py pyscript quit set shell shortcuts +alias help load pyscript set shortcuts +edit history py quit shell unalias """ # Help text for the history command diff --git a/tests/test_parsing.py b/tests/test_parsing.py index 8ef9c5c0..d9563716 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -29,7 +29,8 @@ def parser(): multilineCommands=c.multilineCommands, legalChars=c.legalChars, commentGrammars=c.commentGrammars, commentInProgress=c.commentInProgress, blankLinesAllowed=c.blankLinesAllowed, prefixParser=c.prefixParser, - preparse=c.preparse, postparse=c.postparse, shortcuts=c.shortcuts) + preparse=c.preparse, postparse=c.postparse, aliases=c.aliases, + shortcuts=c.shortcuts) return c.parser_manager.main_parser # Case-sensitive ParserManager @@ -41,7 +42,8 @@ def cs_pm(): multilineCommands=c.multilineCommands, legalChars=c.legalChars, commentGrammars=c.commentGrammars, commentInProgress=c.commentInProgress, blankLinesAllowed=c.blankLinesAllowed, prefixParser=c.prefixParser, - preparse=c.preparse, postparse=c.postparse, shortcuts=c.shortcuts) + preparse=c.preparse, postparse=c.postparse, aliases=c.aliases, + c.shortcuts) return c.parser_manager |
