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

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <6784758.ZJ7AP122Y3@einstein>
On Thursday, September 12, 2013 11:38:16 AM Marius Gedminas wrote:
> 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?

+1 That looks good.

Regards,
Stephan
-- 
Entrepreneur and Software Geek
Google me. "Zope Stephan Richter"
_______________________________________________
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 )
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.