Skip to content

Commit

Permalink
Disable runner stdout/err logging to prevent circular logging bug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsmid committed Sep 6, 2017
1 parent 7fbee24 commit b175d88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# pytest-ui
Text User Interface for running python tests.

# pip
- https://pypi.python.org/pypi/pytest-ui
- `pip install pytest-ui`

# controls
- <kbd>r</kbd>, <kbd>f5</kbd> - run tests (last failed or first run, using filter)
- <kbd>R</kbd>, <kbd>ctrl</kbd> + <kbd>f5</kbd> - run all tests (using filter)
Expand Down
6 changes: 6 additions & 0 deletions pytui/logging_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ def configure(filename):
'project.runner.pipe': {
'level': 'INFO',
},
'project.pytui.runner.stdout': {
'level': 'INFO',
},
'project.pytui.runner.stderr': {
'level': 'INFO',
},
'project.pytui': {
'handlers': ['logfile'],
'level': 'DEBUG',
Expand Down

0 comments on commit b175d88

Please sign in to comment.