mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
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:
parent
8f55cd8db5
commit
06526cafe5
|
@ -7,8 +7,8 @@ import sys
|
|||
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']
|
||||
|
|
Loading…
Reference in New Issue
Block a user