summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 4142e386..ed4c2755 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -231,12 +231,11 @@ def test_generate_transcript_stop(capsys):
assert not stop
assert err.startswith("2 commands")
- # Since quit returns True for stop, only the first 2 commands will run and stop should be True
+ # Since quit returns True for stop, only the first 2 commands will run
commands = ['help', 'quit', 'alias']
- stop = app._generate_transcript(commands, transcript_fname)
+ app._generate_transcript(commands, transcript_fname)
_, err = capsys.readouterr()
- assert stop
- assert err.startswith("2 commands")
+ assert "triggered a stop" in err
@pytest.mark.parametrize('expected, transformed', [