[Zope-dev] zope-tests - FAILED: 4, OK: 8

Stephan Richter stephan.richter at gmail.com
Thu Sep 12 22:34:50 CEST 2013


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"


More information about the Zope-Dev mailing list