From 0d41722a030695f4d988ac21383513c52f2aa073 Mon Sep 17 00:00:00 2001 From: Grant Jenks Date: Fri, 22 Jan 2021 13:34:44 -0800 Subject: [PATCH] Fix configs for pytest --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index d5f43c0..acf7b22 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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