Skip to content

Commit

Permalink
Switch to zope.testrunner for tests in tox
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Nov 5, 2015
1 parent fbb62f3 commit 990f003
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tox.ini
Expand Up @@ -3,14 +3,11 @@ envlist =
py26,py27,py33,pypy

[testenv]
commands =
python setup.py test -q
# without explicit deps, setup.py test will download a bunch of eggs into $PWD
# (and it seems I can't use zope.dottedname[testing] here, so forget DRY)
deps =
zope.testing
zope.i18nmessageid
zope.schema
zope.testrunner
.[test]
commands =
zope-testrunner --test-path=src {posargs:-pvc}

[testenv:coverage]
basepython =
Expand Down

0 comments on commit 990f003

Please sign in to comment.