kopia lustrzana https://github.com/collective/icalendar
Use pytest instead of discover
rodzic
70fda2f7dd
commit
f99ec25488
16
tox.ini
16
tox.ini
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue