diff --git a/.coveragerc b/.coveragerc index 50b4541..50fedef 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,7 +1,3 @@ [run] -source= - . omit= - .tox/* - setup.py - secretquestions/migrations/* + */secretquestions/migrations/* diff --git a/tox.ini b/tox.ini index 87b99a3..9f23cea 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,8 @@ deps = coverage commands = - coverage run {envdir}/bin/django-admin.py test secretquestions --settings=secretquestions.tests.settings + coverage erase + coverage run --source="{envsitepackagesdir}/secretquestions/" {envdir}/bin/django-admin.py test secretquestions --settings=secretquestions.tests.settings coverage report [testenv:django1.3]