Skip to content

Commit 06526ca

Browse files
blueyedlovelydinosaur
authored andcommitted
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.
1 parent 8f55cd8 commit 06526ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
import pytest
88

99
PYTEST_ARGS = {
10-
'default': ['tests', '--tb=short', '-s', '-rw'],
11-
'fast': ['tests', '--tb=short', '-q', '-s', '-rw'],
10+
'default': [],
11+
'fast': ['-q'],
1212
}
1313

1414
FLAKE8_ARGS = ['rest_framework', 'tests']

0 commit comments

Comments
 (0)