Previously the integration tests for the CommandLineInterface object relied on the default Input and Output objects instantiated which were based on stdin and stdout. prompt_tookit updated to version 1.0.4 which adds checks that the Input and Output objects are TTYs, which doesn't hold true when the tests are run as IO is redirected. Changed the IO objects to be the same that prompt_toolkit uses to test CLI objects.
Previously the integration tests for the
CommandLineInterface
object relied on the defaultInput
andOutput
objects instantiated which were based onstdin
andstdout
.prompt_tookit
updated to version 1.0.4 which adds checks that theInput
andOutput
objects are TTYs, which doesn't hold true when the tests are run as IO is redirected. Changed the IO objects to be the same thatprompt_toolkit
uses to test CLI objects.@JordonPhillips @jamesls