Re: zope-tests - FAILED: 4, OK: 8

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20130912083816.GB23676@platonas>
On Tue, Sep 10, 2013 at 09:32:18AM +0300, Marius Gedminas wrote:
> IIRC there's a brand new zope.testbrowser 4.1.0 with Python 3 support,
> built on top of WebTest, waiting in the py3 branch for... Actually, I'm
> not sure what it is waiting for.  (I thought ZODB with Python 3 support,
> but it doesn't look like zope.testbrowser depends on ZODB, at least not
> directly.)

I think I remembered now: a WebTest release with some bugfixes.


I'm trying to merge the py3 branch to master now.  There's one issue:
the test for https://github.com/zopefoundation/zope.testbrowser/pull/4
uses the internal .mech_browser attribute.

I think what is actually wanted here is a new API:

   browser.handleRedirects = False
   browser.open(...) # or browser.submit()
   assert browser.getHeaders('Status') == '302 Found'

Comments?

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, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFSMX14kVdEXeem148RArREAJ9z6S9hrjIPG9rTPaVvamXUo8qfkQCfW5d+
GZc4anEXLydH56JCLgev9T0=
=EUi5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.