[Checkins] SVN: zope.app.testing/trunk/src/zope/app/testing/cookieTest fix broken tests.
Michael Howitz
mh at gocept.com
Fri Jun 12 15:55:45 EDT 2009
Am 22.05.2009 um 20:18 schrieb Alex Smith:
> Log message for revision 100249:
>
> fix broken tests.
>
>
> Changed:
> U zope.app.testing/trunk/src/zope/app/testing/cookieTestOne.txt
> U zope.app.testing/trunk/src/zope/app/testing/cookieTestTwo.txt
>
> -=-
> Modified: zope.app.testing/trunk/src/zope/app/testing/
> cookieTestOne.txt
> ===================================================================
> --- zope.app.testing/trunk/src/zope/app/testing/cookieTestOne.txt
> 2009-05-22 18:13:58 UTC (rev 100248)
> +++ zope.app.testing/trunk/src/zope/app/testing/cookieTestOne.txt
> 2009-05-22 18:18:45 UTC (rev 100249)
> @@ -34,7 +34,7 @@
> 2
>
>>>> http.cookies['proton'].OutputString()
> - 'proton=fromCookieTestOne; Path=/foo'
> + 'proton=fromCookieTestOne; Path=/foo;'
>
>>>> http.cookies
> <SimpleCookie: neutron='fromCookieTestOne'
> proton='fromCookieTestOne'>
>
> Modified: zope.app.testing/trunk/src/zope/app/testing/
> cookieTestTwo.txt
> ===================================================================
> --- zope.app.testing/trunk/src/zope/app/testing/cookieTestTwo.txt
> 2009-05-22 18:13:58 UTC (rev 100248)
> +++ zope.app.testing/trunk/src/zope/app/testing/cookieTestTwo.txt
> 2009-05-22 18:18:45 UTC (rev 100249)
> @@ -24,7 +24,7 @@
> 2
>
>>>> http.cookies['cobalt'].OutputString()
> - 'cobalt=fromCookieTestTwo; Path=/foo'
> + 'cobalt=fromCookieTestTwo; Path=/foo;'
>
>>>> http.cookies
> <SimpleCookie: cobalt='fromCookieTestTwo'
> crimson='fromCookieTestTwo'>
Hi,
this change breaks the tests when using python 2.5 or 2.6, it works
only for python 2.4.
Newer versions do not have a semicolon at the end of the line of the
output string.
Yours sincerely,
--
Michael Howitz · mh at gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
More information about the Checkins
mailing list