Skip to content

Commit

Permalink
Fix configs for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
grantjenks committed Jan 22, 2021
1 parent e49358a commit 0d41722
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ commands=pytest
deps=
django==2.2.*
pytest
pytest-cov
pytest-django
pytest-xdist
setenv=
DJANGO_SETTINGS_MODULE=tests.settings
PYTHONPATH={toxinidir}

[testenv:blue]
commands=blue {toxinidir}/setup.py {toxinidir}/diskcache {toxinidir}/tests
Expand Down Expand Up @@ -81,6 +83,8 @@ addopts=
--cov-report=term-missing
--cov=diskcache
--doctest-glob="*.rst"
--ignore docs/case-study-web-crawler.rst
--ignore docs/sf-python-2017-meetup-talk.rst
--ignore tests/benchmark_core.py
--ignore tests/benchmark_djangocache.py
--ignore tests/benchmark_glob.py
Expand Down

0 comments on commit 0d41722

Please sign in to comment.