Commit 998c8f86 authored by Kirill Smelkov's avatar Kirill Smelkov

[ZODB4] setup: tests_require += zope.testrunner

Zope.testrunner is used to run ZODB tests (see e.g. tox.ini). It was
specified as explicit dependency in tox.ini->deps and in buildout.cfg.
However if in SlapOS we install just ZODB[test] zope.testrunner won't be

-> Fix is by moving zope.testrunner dependency into setup, so that
ZODB[test] installs it. This is the same as what ZODB5 does:
parent d644e63b
......@@ -115,7 +115,7 @@ long_description = str(
read_file("README.rst").decode('latin-1') + "\n\n" +
tests_require = ['zope.testing', 'manuel']
tests_require = ['zope.testing', 'manuel', 'zope.testrunner >= 4.4.6']
......@@ -12,9 +12,7 @@ commands =
zope-testrunner -f --test-path=src --auto-color --auto-progress
# without explicit deps, test will download a bunch of eggs into $PWD
deps =
zope.testrunner >= 4.4.6
# Test that ' test' works
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