runtests.py: clean up PYTEST_ARGS (#6040)

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.
This commit is contained in:
Daniel Hahler 2018-06-21 15:28:25 +02:00 committed by Tom Christie
parent 8f55cd8db5
commit 06526cafe5

View File

@ -7,8 +7,8 @@ import sys
import pytest import pytest
PYTEST_ARGS = { PYTEST_ARGS = {
'default': ['tests', '--tb=short', '-s', '-rw'], 'default': [],
'fast': ['tests', '--tb=short', '-q', '-s', '-rw'], 'fast': ['-q'],
} }
FLAKE8_ARGS = ['rest_framework', 'tests'] FLAKE8_ARGS = ['rest_framework', 'tests']