summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-06-02 13:33:38 -0400
committerGitHub <noreply@github.com>2017-06-02 13:33:38 -0400
commita0d829e4105cd431198feb43534adaf953b090ba (patch)
treebe58d82ca46aa330817e541737e004af072b5c06 /tests
parentbfd50611a7647af8b56fe34babf0b634708aaae9 (diff)
parent36fdee77642604186c10499ce0042ff347539d48 (diff)
downloadcmd2-git-a0d829e4105cd431198feb43534adaf953b090ba.tar.gz
Merge pull request #114 from python-cmd2/exclude_help
Added ability to exclude some commands from help menu
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py4
-rw-r--r--tests/test_transcript.py5
-rw-r--r--tests/transcript.txt5
3 files changed, 8 insertions, 6 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index b036943d..3977de5f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -15,8 +15,8 @@ import cmd2
# Help text for base cmd2.Cmd application
BASE_HELP = """Documented commands (type help <topic>):
========================================
-_relative_load edit help list pause quit save shell show
-cmdenvironment eof history load py run set shortcuts
+_relative_load edit history load py run set shortcuts
+cmdenvironment help list pause quit save shell show
"""
# Help text for the history command
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 6049119f..c31b519d 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -106,8 +106,9 @@ def test_base_with_transcript(_cmdline_app):
Documented commands (type help <topic>):
========================================
-_relative_load edit help list orate py run say shell show
-cmdenvironment eof history load pause quit save set shortcuts speak
+_relative_load help load py save shell speak
+cmdenvironment history orate quit say shortcuts
+edit list pause run set show
(Cmd) help say
Repeats what you tell me to.
diff --git a/tests/transcript.txt b/tests/transcript.txt
index 1e10ee31..013e2d0f 100644
--- a/tests/transcript.txt
+++ b/tests/transcript.txt
@@ -2,8 +2,9 @@
Documented commands (type help <topic>):
========================================
-_relative_load edit help list orate py run say shell show
-cmdenvironment eof history load pause quit save set shortcuts speak
+_relative_load help load py save shell speak
+cmdenvironment history orate quit say shortcuts
+edit list pause run set show
(Cmd) help say
Repeats what you tell me to.