mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +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
|
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']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user