summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-09-17 22:12:41 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-09-17 22:12:41 -0400
commitefadff391032482b139524c96dfc4130fc631f9c (patch)
tree1f5a35d1c65a8c68f8a5eaa4bd78c3cf5d487fa5 /tests/test_transcript.py
parent74857c34c00323c881f1669ae95788dcff6a48fa (diff)
parent1176c0cc99975044d2fcec88b3f0903b8453194f (diff)
downloadcmd2-git-efadff391032482b139524c96dfc4130fc631f9c.tar.gz
Merge branch 'master' into doc_additions
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 1d930c26..5739ad8e 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -224,13 +224,13 @@ def test_generate_transcript_stop(capsys):
os.close(fd)
# This should run all commands
- commands = ['help', 'alias']
+ commands = ['help', 'set']
app._generate_transcript(commands, transcript_fname)
_, err = capsys.readouterr()
assert err.startswith("2 commands")
# Since quit returns True for stop, only the first 2 commands will run
- commands = ['help', 'quit', 'alias']
+ commands = ['help', 'quit', 'set']
app._generate_transcript(commands, transcript_fname)
_, err = capsys.readouterr()
assert err.startswith("Command 2 triggered a stop")