[Checkins] SVN: zope.app.authentication/trunk/src/zope/app/authentication/browser/tests.py Decouple tests from zope.publisher implementation

Fred Drake fdrake at gmail.com
Tue May 15 13:46:23 EDT 2007


On 5/15/07, Dmitry Vasiliev <dima at hlabs.spb.ru> wrote:
> Log message for revision 75769:
>   Decouple tests from zope.publisher implementation
...
> +checker = renormalizing.RENormalizing([
> +    (re.compile(r"HTTP/1\.1 200 .*"), "HTTP/1.1 200 OK"),
> +    (re.compile(r"HTTP/1\.1 303 .*"), "HTTP/1.1 200 See Other"),
> +    (re.compile(r"HTTP/1\.1 401 .*"), "HTTP/1.1 401 Unauthorized"),

Almost!  ;-)  I suspect you meant for 303 to remain 303.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Checkins mailing list