summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorTodd Leonhardt <tleonhardt@gmail.com>2017-06-13 08:55:24 -0400
committerTodd Leonhardt <tleonhardt@gmail.com>2017-06-13 08:55:24 -0400
commitc56ad0f564bce6cbea7406c3e28bccea26b6dbc4 (patch)
tree147837bbba8cf205a52880d7006841c4b2653598 /tests/test_transcript.py
parentaf37a3414e232c268f9b57761670c051ab3fda32 (diff)
downloadcmd2-git-c56ad0f564bce6cbea7406c3e28bccea26b6dbc4.tar.gz
Fixes a bug which caused transcript failures to display twice
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 03fec92a..b193a20d 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -270,7 +270,7 @@ def test_transcript_from_cmdloop(request, capsys):
# Check for the unittest "OK" condition for the 1 test which ran
expected_start = ".\n----------------------------------------------------------------------\nRan 1 test in"
- expected_end = "s\n\nOK\n\n"
+ expected_end = "s\n\nOK\n"
out, err = capsys.readouterr()
if six.PY3:
assert err.startswith(expected_start)
@@ -296,7 +296,7 @@ def test_multiline_command_transcript_with_comments_at_beginning(request, capsys
# Check for the unittest "OK" condition for the 1 test which ran
expected_start = ".\n----------------------------------------------------------------------\nRan 1 test in"
- expected_end = "s\n\nOK\n\n"
+ expected_end = "s\n\nOK\n"
out, err = capsys.readouterr()
if six.PY3:
assert err.startswith(expected_start)
@@ -329,7 +329,7 @@ def test_regex_transcript(request, capsys):
# Check for the unittest "OK" condition for the 1 test which ran
expected_start = ".\n----------------------------------------------------------------------\nRan 1 test in"
- expected_end = "s\n\nOK\n\n"
+ expected_end = "s\n\nOK\n"
out, err = capsys.readouterr()
if six.PY3:
assert err.startswith(expected_start)