mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Run coverage with pytest
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
This commit is contained in:
parent
5a78d41828
commit
7152cf482d
3 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
|||
[pytest]
|
||||
DJANGO_SETTINGS_MODULE = axes.tests.settings
|
||||
addopts = --cov axes --cov-config .coveragerc --cov-append --cov-report term-missing
|
||||
python_files = tests.py test_*.py tests_*.py *_tests.py *_test.py
|
||||
DJANGO_SETTINGS_MODULE = axes.tests.settings
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ coverage==4.5.2
|
|||
mypy==0.670
|
||||
prospector==1.1.6.2
|
||||
pytest==4.3.0
|
||||
pytest-cov==2.6.1
|
||||
pytest-django==3.4.7
|
||||
sphinx_rtd_theme==0.4.3
|
||||
tox==3.7.0
|
||||
|
|
|
|||
3
tox.ini
3
tox.ini
|
|
@ -27,8 +27,7 @@ usedevelop = True
|
|||
ignore_outcome =
|
||||
djangomaster: True
|
||||
commands =
|
||||
coverage run -a -m pytest
|
||||
coverage report
|
||||
pytest
|
||||
prospector
|
||||
mypy axes
|
||||
setenv =
|
||||
|
|
|
|||
Loading…
Reference in a new issue