Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Require test deps explicitly in tox.ini.
Browse files Browse the repository at this point in the history
I think, the term "z3c.testsetup[test]" in tox.ini deps
tells tox to fetch an (old) "z3c.testsetup" package from pypi
and then read the "test" dependencies from this package. It does
not (as one might expect) read the "test" dependencies from the
locally developed setup.py file.
  • Loading branch information
ulif committed May 26, 2015
1 parent e55ecb8 commit 2421960
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

tests_require = [
# please also add all test requirements to tox.ini.
'zope.app.testing',
'zope.app.zcmlfiles',
'zope.component',
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ envlist =
usedevelop = true
deps =
zope.testrunner
z3c.testsetup[test]
zope.app.testing
zope.app.zcmlfiles
zope.component
commands =
zope-testrunner --test-path=src --tests-pattern='^test_.*$' {posargs:-v}

0 comments on commit 2421960

Please sign in to comment.