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'
+1 That looks good.
Entrepreneur and Software Geek
Google me. "Zope Stephan Richter"
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -