[Zope-dev] zope.testbrowser and WebTest

Hanno Schlichting hanno at hannosch.eu
Wed Dec 15 18:06:36 EST 2010


On Wed, Dec 15, 2010 at 2:06 PM, Brian Sutherland
<brian at vanguardistas.net> wrote:
> I've managed to get the existing tests to run against this browser with
> two new testing dependencies:
>    WebTest
>    zope.app.wsgi

zope.app.wsgi shouldn't be a dependency of zope.testbrowser. It's ok
if it's pulled in via a specific extra_requires like a [webtest]
extra, though. Zope2 depends on zope.testbrowser and has no dependency
on any zope.app packages - this must continue to be the case. Required
test dependencies count towards real dependencies here.

The real fix would probably be to move the reusable code out of
zope.app.wsgi into a zope.wsgi package, but that might be more than
you are willing to do now. I do believe some of the Grok people would
be interested in this as well.

Hanno


More information about the Zope-Dev mailing list