Use pytest instead of discover

pull/138/head
Markus Unterwaditzer 2014-05-29 18:56:10 +02:00
rodzic 70fda2f7dd
commit f99ec25488
1 zmienionych plików z 5 dodań i 11 usunięć

16
tox.ini
Wyświetl plik

@ -4,20 +4,14 @@ envlist = py26,py27,py33
[testenv:py26]
deps =
unittest2
discover
pytest
coverage
commands =
coverage erase
coverage run --source=icalendar --omit=*tests* {envbindir}/discover icalendar
coverage report --omit=*tests*
coverage html --omit=*tests*
[testenv]
deps =
discover
pytest
coverage
commands =
coverage erase
coverage run --source=icalendar --omit=*tests* {envbindir}/discover icalendar
coverage report --omit=*tests*
coverage html --omit=*tests*
coverage run --source=src/icalendar --module pytest src/icalendar
coverage report
coverage html