Skip to content

Fixed integration tests for key bindings. #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2016
Merged

Conversation

joguSD
Copy link
Contributor

@joguSD joguSD commented Aug 4, 2016

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.

@JordonPhillips @jamesls

@jamesls
Copy link
Member

jamesls commented Aug 4, 2016

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants