fix coverage with tox
This commit is contained in:
parent
6f7dc82ca9
commit
ce0920a3af
|
@ -1,7 +1,3 @@
|
||||||
[run]
|
[run]
|
||||||
source=
|
|
||||||
.
|
|
||||||
omit=
|
omit=
|
||||||
.tox/*
|
*/secretquestions/migrations/*
|
||||||
setup.py
|
|
||||||
secretquestions/migrations/*
|
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -7,7 +7,8 @@ deps =
|
||||||
coverage
|
coverage
|
||||||
|
|
||||||
commands =
|
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
|
coverage report
|
||||||
|
|
||||||
[testenv:django1.3]
|
[testenv:django1.3]
|
||||||
|
|
Reference in New Issue