summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-12-21 16:19:30 -0500
committerWaylan Limberg <waylan@gmail.com>2012-12-21 16:19:30 -0500
commitdc7aedfe825b02bd2cb526c0aba9c421822a37d1 (patch)
tree53b70d78cef1857d86d8d1d2a406e832a2a7ac5f /tox.ini
parentd4ce5e1bbc4488747e3387811fa0fd8f5c5ac2e8 (diff)
downloadpython-markdown-tox.tar.gz
tox now installs tests as a module. Still not running sytax tests. Package_data (in setup-tests.py) doesn't recursively search subdirs - need to do so manually.tox
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