summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_completion.py12
-rw-r--r--tests/test_transcript.py4
2 files changed, 11 insertions, 5 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index c1111ab9..7eac5366 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -900,6 +900,7 @@ def test_cmd2_submenu_completion_multiple(sb_app):
assert first_match is not None and sb_app.completion_matches == [
'_relative_load',
+ 'alias',
'edit',
'eof',
'eos',
@@ -912,7 +913,8 @@ def test_cmd2_submenu_completion_multiple(sb_app):
'quit',
'set',
'shell',
- 'shortcuts'
+ 'shortcuts',
+ 'unalias'
]
@@ -1006,6 +1008,7 @@ def test_cmd2_help_submenu_completion_multiple(sb_app):
begidx = endidx - len(text)
assert sb_app.complete_help(text, line, begidx, endidx) == [
'_relative_load',
+ 'alias',
'edit',
'eof',
'eos',
@@ -1018,7 +1021,8 @@ def test_cmd2_help_submenu_completion_multiple(sb_app):
'quit',
'set',
'shell',
- 'shortcuts'
+ 'shortcuts',
+ 'unalias'
]
@@ -1037,6 +1041,7 @@ def test_cmd2_help_submenu_completion_subcommands(sb_app):
begidx = endidx - len(text)
assert sb_app.complete_help(text, line, begidx, endidx) == [
'_relative_load',
+ 'alias',
'edit',
'eof',
'eos',
@@ -1049,5 +1054,6 @@ def test_cmd2_help_submenu_completion_subcommands(sb_app):
'quit',
'set',
'shell',
- 'shortcuts'
+ 'shortcuts',
+ 'unalias'
]
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 43b7a72c..8c2af29d 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -129,8 +129,8 @@ def test_base_with_transcript(_cmdline_app):
Documented commands (type help <topic>):
========================================
-edit history mumble py quit set shortcuts
-help load orate pyscript say shell speak
+alias help load orate pyscript say shell speak
+edit history mumble py quit set shortcuts unalias
(Cmd) help say
Repeats what you tell me to.