2015-07-24 18:55:09 +00:00
|
|
|
[tox]
|
|
|
|
envlist=
|
2017-05-05 03:43:39 +00:00
|
|
|
py27-django{17,18,19,110,111},
|
2018-02-01 17:00:57 +00:00
|
|
|
py34-django{17,18,19,110,111,20},
|
|
|
|
py35-django{18,19,110,111,20},
|
|
|
|
py36-django{18,19,110,111,20},
|
2015-07-24 18:55:09 +00:00
|
|
|
|
|
|
|
[testenv]
|
2018-03-22 14:45:56 +00:00
|
|
|
changedir=
|
2018-03-22 19:48:54 +00:00
|
|
|
oidc_provider
|
2015-07-24 18:55:09 +00:00
|
|
|
deps =
|
2018-03-22 14:45:56 +00:00
|
|
|
mock
|
|
|
|
psycopg2
|
|
|
|
pytest
|
|
|
|
pytest-django
|
|
|
|
pytest-flake8
|
|
|
|
pytest-cov
|
2016-02-12 16:02:35 +00:00
|
|
|
django17: django>=1.7,<1.8
|
|
|
|
django18: django>=1.8,<1.9
|
2016-08-02 02:17:20 +00:00
|
|
|
django19: django>=1.9,<1.10
|
2016-08-04 06:30:22 +00:00
|
|
|
django110: django>=1.10,<1.11
|
2017-05-05 03:43:39 +00:00
|
|
|
django111: django>=1.11,<1.12
|
2018-02-01 17:00:57 +00:00
|
|
|
django20: django>=2.0,<2.1
|
2017-08-08 22:41:42 +00:00
|
|
|
|
|
|
|
commands =
|
2018-03-22 14:45:56 +00:00
|
|
|
pytest --flake8 --cov=oidc_provider {posargs}
|
|
|
|
|
|
|
|
[pytest]
|
|
|
|
DJANGO_SETTINGS_MODULE = oidc_provider.tests.settings
|
|
|
|
python_files = test_*.py
|
|
|
|
flake8-max-line-length = 99
|
|
|
|
flake8-ignore =
|
|
|
|
.git ALL
|
|
|
|
__pycache__ ALL
|
|
|
|
.ropeproject ALL
|
2018-03-22 19:48:54 +00:00
|
|
|
migrations/* ALL
|