summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index a3ee9fd..7230b01 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,5 +3,7 @@ envlist = py27,py32
[testenv]
deps=nose
-commands = {envpython} {toxinidir}/run-tests.py {posargs}
-#commands= nosetests \ No newline at end of file
+changedir = {toxworkdir}/{envname}
+commands = {envpython} {toxinidir}/setup-tests.py --quiet install
+ {envpython} {envbindir}/run-tests.py {posargs} {toxworkdir}/{envname}/Lib/site-packages/tests
+# for tox v1.4.3 replace `{toxworkdir}/{envname}/Lib/site-packages/tests` with `{envsitepackagesdir}/tests` \ No newline at end of file