From f3fa2265442b5c263f7f7f9a99da80142d9a3fd4 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Wed, 26 Apr 2017 15:47:17 -0400 Subject: Fixed transcript testing issues Transcript testing no longer creates an unnecessary 2nd instance of the class derived from cmd2.Cmd. This dramatically simplifies transcript testing for derived classes which have required parameters during construction. As a side effect the, feedback_to_output attribute now defaults to false. This had some minor ripple effects on various unit tests. --- tests/test_transcript.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_transcript.py') diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 89f2ea7c..6049119f 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -149,6 +149,7 @@ 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 -- cgit v1.2.1