mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-05 12:53:30 +03:00
Add pytest configs
This commit is contained in:
parent
f68069e99f
commit
23c145124f
3
tests/.configs/pytest-py27.ini
Normal file
3
tests/.configs/pytest-py27.ini
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[pytest]
|
||||||
|
testpaths = tests/unit
|
||||||
|
python_files = test_*_py2_py3.py
|
3
tests/.configs/pytest-py34-py35.ini
Normal file
3
tests/.configs/pytest-py34-py35.ini
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[pytest]
|
||||||
|
testpaths = tests/unit
|
||||||
|
python_files = test_*_py3.py
|
3
tests/.configs/pytest.ini
Normal file
3
tests/.configs/pytest.ini
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[pytest]
|
||||||
|
testpaths = tests/unit
|
||||||
|
python_files = test_*_py3*.py
|
14
tox.ini
14
tox.ini
|
@ -2,9 +2,6 @@
|
||||||
envlist=
|
envlist=
|
||||||
coveralls, pylint, flake8, pydocstyle, 2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3
|
coveralls, pylint, flake8, pydocstyle, 2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3
|
||||||
|
|
||||||
[pytest]
|
|
||||||
testpaths = tests/unit
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps=
|
deps=
|
||||||
pytest
|
pytest
|
||||||
|
@ -21,7 +18,7 @@ extras=
|
||||||
pydantic
|
pydantic
|
||||||
flask
|
flask
|
||||||
aiohttp
|
aiohttp
|
||||||
commands = pytest
|
commands = pytest -c tests/.configs/pytest.ini
|
||||||
python_files = test_*_py3*.py
|
python_files = test_*_py3*.py
|
||||||
|
|
||||||
[testenv:coveralls]
|
[testenv:coveralls]
|
||||||
|
@ -45,8 +42,7 @@ deps=
|
||||||
extras=
|
extras=
|
||||||
yaml
|
yaml
|
||||||
flask
|
flask
|
||||||
commands = pytest
|
commands = pytest -c tests/.configs/py27.ini
|
||||||
python_files = test_*_py2_py3.py
|
|
||||||
|
|
||||||
[testenv:3.5]
|
[testenv:3.5]
|
||||||
deps=
|
deps=
|
||||||
|
@ -55,7 +51,7 @@ deps=
|
||||||
extras=
|
extras=
|
||||||
yaml
|
yaml
|
||||||
flask
|
flask
|
||||||
python_files = test_*_py3.py
|
commands = pytest -c tests/.configs/pytest-py34-py35.ini
|
||||||
|
|
||||||
[testenv:pypy2]
|
[testenv:pypy2]
|
||||||
deps=
|
deps=
|
||||||
|
@ -63,7 +59,7 @@ deps=
|
||||||
extras=
|
extras=
|
||||||
yaml
|
yaml
|
||||||
flask
|
flask
|
||||||
python_files = test_*_py2_py3.py
|
commands = pytest -c tests/.configs/py27.ini
|
||||||
|
|
||||||
[testenv:pypy3]
|
[testenv:pypy3]
|
||||||
deps=
|
deps=
|
||||||
|
@ -75,7 +71,7 @@ deps=
|
||||||
extras=
|
extras=
|
||||||
yaml
|
yaml
|
||||||
flask
|
flask
|
||||||
python_files = test_*_py2_py3.py
|
commands = pytest -c tests/.configs/py27.ini
|
||||||
|
|
||||||
|
|
||||||
[testenv:pylint]
|
[testenv:pylint]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user