Commit 483aa561 authored by Tres Seaver's avatar Tres Seaver

Get tox + nosetests to handle doctests properly.

Set PURE_PYTHON=1 for coverage testing under tox.
parent 17d8bdae
...@@ -5,7 +5,7 @@ envlist = ...@@ -5,7 +5,7 @@ envlist =
[testenv] [testenv]
commands = commands =
nosetests --doctest-tests --where={envsitepackagesdir}/Acquisition nosetests --with-doctest --doctest-tests --where={envsitepackagesdir}/Acquisition
deps = deps =
nose nose
...@@ -19,10 +19,10 @@ setenv = ...@@ -19,10 +19,10 @@ setenv =
basepython = basepython =
python2.7 python2.7
commands = commands =
nosetests --with-xunit --with-xcoverage --doctest-tests --where={envsitepackagesdir}/Acquisition --cover-package=Acquisition nosetests --with-xunit --with-xcoverage --with-doctest --doctest-tests --where={envsitepackagesdir}/Acquisition --cover-package=Acquisition
deps = deps =
nose nose
coverage coverage
nosexcover nosexcover
#setenv = setenv =
# PURE_PYTHON = 1 PURE_PYTHON = 1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment