From 990f003d34ccc91f6cb19a14bb756c59f26e1366 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Thu, 5 Nov 2015 12:55:52 +0200 Subject: [PATCH] Switch to zope.testrunner for tests in tox --- tox.ini | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tox.ini b/tox.ini index 9da972d..01fbb63 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =