summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-08-20 09:07:40 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-08-20 09:07:40 -0400
commit41da03c106ce6d92a45952e2ec4850429b3a3155 (patch)
treef3cc2d2baaba434af5735a5bde12e40ae85fb152 /tests/test_transcript.py
parent499fdd614f782de085054e2e50d926a0f0adb71f (diff)
downloadcmd2-git-41da03c106ce6d92a45952e2ec4850429b3a3155.tar.gz
feedback_to_output now defaults to False
This is so that non-essential info which isn't directly associated with command output, such as time elapsed while executing a command, won't redirect when command output is redirected using >, >>, or |.
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index bc116e9a..2400066e 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -150,7 +150,6 @@ set maxrepeats 5
-------------------------[6]
say -ps --repeat=5 goodnight, Gracie
(Cmd) run 4
-say -ps --repeat=5 goodnight, Gracie
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
@@ -237,6 +236,7 @@ def test_commands_at_invocation():
def test_transcript_from_cmdloop(request, capsys):
# Create a cmd2.Cmd() instance and make sure basic settings are like we want for test
app = CmdLineApp()
+ app.feedback_to_output = True
# Get location of the transcript
test_dir = os.path.dirname(request.module.__file__)