From 41da03c106ce6d92a45952e2ec4850429b3a3155 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 20 Aug 2017 09:07:40 -0400 Subject: 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 |. --- tests/test_transcript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_transcript.py') 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__) -- cgit v1.2.1