summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2020-03-22 07:37:37 -0500
committerJason Madden <jamadden@gmail.com>2020-03-22 07:37:37 -0500
commitedece6949e2cc0e39f5b6052e3b11ebb3484797f (patch)
tree36b6552a03e6ab071884626050b2d488b74aea91 /tox.ini
parent0194dd6143049d319774dd56b53ef21384c6ef27 (diff)
downloadzope-configuration-edece6949e2cc0e39f5b6052e3b11ebb3484797f.tar.gz
Ensure consistent IRO for all objects.issue49
This requires switching some tests to the plain unittest runner right now because of cyclic dependencies. Fixes #49
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 12 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 7d1984e..6f373e6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,15 @@
[tox]
envlist =
- py27,py34,py35,py36,py37,pypy,pypy3,coverage,docs
+ py27,py35,py36,py37,pypy,pypy3,coverage,docs
[testenv]
+usedevelop = true
deps =
.[test]
commands =
- zope-testrunner --test-path=src --all []
+ python -m unittest discover -s src
+setenv =
+ ZOPE_INTERFACE_STRICT_IRO = 1
[testenv:coverage]
usedevelop = true
@@ -18,6 +21,10 @@ commands =
deps =
{[testenv]deps}
coverage
+# Disabling STRICT IRO is temporary.
+setenv =
+ ZOPE_INTERFACE_STRICT_IRO = 0
+
[testenv:docs]
basepython =
@@ -29,3 +36,6 @@ deps =
{[testenv]deps}
Sphinx
repoze.sphinx.autointerface
+# Disabling STRICT IRO is temporary.
+setenv =
+ ZOPE_INTERFACE_STRICT_IRO = 0