-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide the text output from a number of tests.
Since changing the use of tools like simplified_test_function to allow capturing text output (i.e. using the capsys fixture is signicantly difficult, we found a simple mechanism, simply mock the click.echo so that the output is never generated. We added mock of click.echo to the mock we already had for click.confirm, click.prompt, etc. Changed the tests in common that output text so that the test output is significantly cleaner now.
- Loading branch information
1 parent
ebbf2c6
commit 261cb28
Showing
2 changed files
with
95 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters