Re: zope.testbrowser and WebTest (round 2)
Marius Gedminas <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <20110202171519.GD27611@platonas> |
On Wed, Feb 02, 2011 at 11:15:19AM +0100, Brian Sutherland wrote: > Ok, I think that that API is preservable. However I would like to make > the layer optional by adding an wsgi_app keyword argument to Browser. So > you can do: > > >>> browser = Browser(wsgi_app=app) > > where app is a WSGI application. +1 > Some people in the non-zope world are not too fond of layers, or use > incompatible testrunners. We shouldn't force layers on them. +1 Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1JkScACgkQkVdEXeem148HNACfY/xpYDRds4McakrBT3KceAmp D+4AnjIkl2Qe2Mr2+bsdzUqwkezxzfMR =WJsC -----END PGP SIGNATURE-----