Skip to content

Fixed transcript testing issues#89

Merged
tleonhardt merged 1 commit intomasterfrom
transcript_fixes
Apr 26, 2017
Merged

Fixed transcript testing issues#89
tleonhardt merged 1 commit intomasterfrom
transcript_fixes

Conversation

@tleonhardt
Copy link
Copy Markdown
Member

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.

This closes #88

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.
@tleonhardt tleonhardt added this to the 0.7.1 milestone Apr 26, 2017
@tleonhardt tleonhardt self-assigned this Apr 26, 2017
@tleonhardt tleonhardt merged commit f273901 into master Apr 26, 2017
@tleonhardt tleonhardt deleted the transcript_fixes branch April 26, 2017 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transcript tests create apparently unnecessary 2nd instance of cmd2.Cmd class

1 participant