Skip to content

Commit 0d41722

Browse files
committed
Fix configs for pytest
1 parent e49358a commit 0d41722

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ commands=pytest
77
deps=
88
django==2.2.*
99
pytest
10+
pytest-cov
1011
pytest-django
1112
pytest-xdist
1213
setenv=
1314
DJANGO_SETTINGS_MODULE=tests.settings
15+
PYTHONPATH={toxinidir}
1416

1517
[testenv:blue]
1618
commands=blue {toxinidir}/setup.py {toxinidir}/diskcache {toxinidir}/tests
@@ -81,6 +83,8 @@ addopts=
8183
--cov-report=term-missing
8284
--cov=diskcache
8385
--doctest-glob="*.rst"
86+
--ignore docs/case-study-web-crawler.rst
87+
--ignore docs/sf-python-2017-meetup-talk.rst
8488
--ignore tests/benchmark_core.py
8589
--ignore tests/benchmark_djangocache.py
8690
--ignore tests/benchmark_glob.py

0 commit comments

Comments
 (0)