mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
Add coverage to runtests. Closes #2936.
This commit is contained in:
parent
a8acdbc388
commit
db40b7eb91
|
@ -1,3 +1,4 @@
|
|||
# PyTest for running the tests.
|
||||
pytest==2.6.4
|
||||
pytest-django==2.8.0
|
||||
pytest-cov==1.8.1
|
||||
|
|
|
@ -8,7 +8,7 @@ import sys
|
|||
import pytest
|
||||
|
||||
PYTEST_ARGS = {
|
||||
'default': ['tests', '--tb=short', '-s'],
|
||||
'default': ['tests', '--tb=short', '-s', '--cov', 'rest_framework'],
|
||||
'fast': ['tests', '--tb=short', '-q', '-s'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user