diff --git a/tox.ini b/tox.ini index 612cd5d..d8e4eb3 100644 --- a/tox.ini +++ b/tox.ini @@ -31,10 +31,10 @@ deps = commands = pip install -e . pip install -e demo - # doctests + # doctests and unit tests pytest --cov=django_downloadview --cov=demoproject {posargs} - # all other test cases - coverage run --append {envbindir}/demo test {posargs: tests demoproject} + # demo project integration tests + coverage run --append {envbindir}/demo test {posargs: demoproject} coverage xml pip freeze ignore_outcome = @@ -76,3 +76,4 @@ source = django_downloadview,demo [pytest] DJANGO_SETTINGS_MODULE = demoproject.settings addopts = --doctest-modules --ignore=docs/ +python_files = tests/*.py