summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/conftest.py3
-rw-r--r--tests/test_parsing.py6
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