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

Dmitry Vasiliev dima at hlabs.spb.ru
Tue May 15 14:38:06 EDT 2007


Fred Drake wrote:
> 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.

Yeah! I've just found it myself. It seems I haven't fixed it after my 
experiments. :-)

-- 
Dmitry Vasiliev <dima at hlabs.spb.ru>
http://hlabs.spb.ru


More information about the Checkins mailing list