Skip to content

Commit

Permalink
runtests.py: clean up PYTEST_ARGS (encode#6040)
Browse files Browse the repository at this point in the history
1. `tests` and `--tb=short` is not necessary, since it is in
`pytest.addopts` already.
2. removes `-s` (shortcut for --capture=no): it is typically a good idea
   to not display output from successful tests.
  • Loading branch information
blueyed authored and tomchristie committed Jun 21, 2018
1 parent 8f55cd8 commit 06526ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import pytest

PYTEST_ARGS = {
'default': ['tests', '--tb=short', '-s', '-rw'],
'fast': ['tests', '--tb=short', '-q', '-s', '-rw'],
'default': [],
'fast': ['-q'],
}

FLAKE8_ARGS = ['rest_framework', 'tests']
Expand Down

0 comments on commit 06526ca

Please sign in to comment.