[Checkins] SVN: zope.publisher/trunk/src/zope/publisher/tests/test_http.py Wrap more long lines.

Tres Seaver tseaver at palladion.com
Sat Apr 24 14:30:52 EDT 2010


Log message for revision 111387:
  Wrap more long lines.

Changed:
  U   zope.publisher/trunk/src/zope/publisher/tests/test_http.py

-=-
Modified: zope.publisher/trunk/src/zope/publisher/tests/test_http.py
===================================================================
--- zope.publisher/trunk/src/zope/publisher/tests/test_http.py	2010-04-24 18:30:51 UTC (rev 111386)
+++ zope.publisher/trunk/src/zope/publisher/tests/test_http.py	2010-04-24 18:30:52 UTC (rev 111387)
@@ -848,7 +848,8 @@
         c = self._getCookieFromResponse([
                 ('foo', 'bar', {}),
                 ])
-        self.failUnless('foo=bar;' in c or 'foo=bar' in c, 'foo=bar; not in %r' % c)
+        self.failUnless('foo=bar;' in c or 'foo=bar' in c,
+                        'foo=bar; not in %r' % c)
 
         c = self._getCookieFromResponse([
                 ('foo', 'bar', {}),
@@ -860,7 +861,8 @@
         c = self._getCookieFromResponse([
                 ('sign', u'\N{BIOHAZARD SIGN}', {}),
                 ])
-        self.failUnless((r'sign="\342\230\243";' in c) or (r'sign="\342\230\243"' in c))
+        self.failUnless((r'sign="\342\230\243";' in c) or
+                        (r'sign="\342\230\243"' in c))
 
         self.assertRaises(
                 CookieError,
@@ -902,7 +904,8 @@
             "text/html;charset=utf-8")
         self.assertEquals(response.getStatus(), 500)
         self.assert_(response.consumeBody() in
-            ["<html><head><title>&lt;type 'exceptions.ValueError'&gt;</title></head>\n"
+            ["<html><head>"
+               "<title>&lt;type 'exceptions.ValueError'&gt;</title></head>\n"
             "<body><h2>&lt;type 'exceptions.ValueError'&gt;</h2>\n"
             "A server error occurred.\n"
             "</body></html>\n",



More information about the checkins mailing list