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 - Zope-Dev@zope.org 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 )