diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 21:27:32 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 21:27:32 -0400 |
commit | 3beaa30ca6a873021241b88b7350fb3574b82e75 (patch) | |
tree | ca7bd30657365342202a164282f227bb81c72fe8 /tests | |
parent | 3292bf5dfbc64a832e7f880f566ad3edd6201776 (diff) | |
download | cmd2-git-3beaa30ca6a873021241b88b7350fb3574b82e75.tar.gz |
Modified a transcript used during testing to not run help so that it doesn't need to be changed any time the content of help changes
Now the only test which should need to change when a command is added, deleted, or renamed (which isn't specifically related to that command) is test_get_all_commands
Diffstat (limited to 'tests')
-rw-r--r-- | tests/transcripts/from_cmdloop.txt | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/tests/transcripts/from_cmdloop.txt b/tests/transcripts/from_cmdloop.txt index 76056fc6..aede6659 100644 --- a/tests/transcripts/from_cmdloop.txt +++ b/tests/transcripts/from_cmdloop.txt @@ -1,14 +1,6 @@ # responses with trailing spaces have been matched with a regex # so you can see where they are. -(Cmd) help - -Documented commands (type help <topic>): -======================================== -alias history mumble py run_pyscript set speak/ */ -edit load nothing pyscript run_script shell/ */ -help macro orate quit say shortcuts/ */ - (Cmd) help say usage: speak [-h] [-p] [-s] [-r REPEAT]/ */ @@ -36,13 +28,12 @@ OODNIGHT, GRACIEGAY OODNIGHT, GRACIEGAY OODNIGHT, GRACIEGAY (Cmd) history - 1 help - 2 help say - 3 say goodnight, Gracie - 4 say -ps --repeat=5 goodnight, Gracie - 5 set maxrepeats 5 - 6 say -ps --repeat=5 goodnight, Gracie -(Cmd) history -r 4 + 1 help say + 2 say goodnight, Gracie + 3 say -ps --repeat=5 goodnight, Gracie + 4 set maxrepeats 5 + 5 say -ps --repeat=5 goodnight, Gracie +(Cmd) history -r 3 OODNIGHT, GRACIEGAY OODNIGHT, GRACIEGAY OODNIGHT, GRACIEGAY |