Fixed pytest

This commit is contained in:
Syrus Akbary 2016-09-17 17:14:07 -07:00
parent b18b72833d
commit ec4b164de3
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ before_install:
install: install:
- | - |
if [ "$TEST_TYPE" = build ]; then if [ "$TEST_TYPE" = build ]; then
pip install pytest pytest-cov pytest-benchmark coveralls six pytest-django mock django-filter pip install pytest==3.0.2 pytest-cov pytest-benchmark coveralls six pytest-django mock django-filter
pip install -e . pip install -e .
python setup.py develop python setup.py develop
elif [ "$TEST_TYPE" = lint ]; then elif [ "$TEST_TYPE" = lint ]; then

View File

@ -41,7 +41,7 @@ setup(
], ],
tests_require=[ tests_require=[
'django-filter>=0.10.0', 'django-filter>=0.10.0',
'pytest>=3.0', 'pytest',
'pytest-django', 'pytest-django',
'mock', 'mock',
# Required for Django postgres fields testing # Required for Django postgres fields testing