mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge 0796cc845b
into 7b42c5ed17
This commit is contained in:
commit
66599c035c
|
@ -3,6 +3,7 @@ Django>=1.4.11
|
|||
|
||||
# Test requirements
|
||||
pytest-django==2.6
|
||||
pytest-xdist==1.11
|
||||
pytest==2.5.2
|
||||
pytest-cov==1.6
|
||||
flake8==2.2.2
|
||||
|
|
|
@ -5,11 +5,12 @@ import pytest
|
|||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
import multiprocessing
|
||||
|
||||
|
||||
PYTEST_ARGS = {
|
||||
'default': ['tests'],
|
||||
'fast': ['tests', '-q'],
|
||||
'fast': ['tests', '-q', '-n %d' % multiprocessing.cpu_count()],
|
||||
}
|
||||
|
||||
FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501']
|
||||
|
|
Loading…
Reference in New Issue
Block a user