[Checkins] SVN: zope.app.http/trunk/src/zope/app/http/tests/test_functional_put.py Whitespace
Hanno Schlichting
hannosch at hannosch.eu
Thu Sep 16 08:08:40 EDT 2010
Log message for revision 116445:
Whitespace
Changed:
U zope.app.http/trunk/src/zope/app/http/tests/test_functional_put.py
-=-
Modified: zope.app.http/trunk/src/zope/app/http/tests/test_functional_put.py
===================================================================
--- zope.app.http/trunk/src/zope/app/http/tests/test_functional_put.py 2010-09-16 12:04:26 UTC (rev 116444)
+++ zope.app.http/trunk/src/zope/app/http/tests/test_functional_put.py 2010-09-16 12:08:39 UTC (rev 116445)
@@ -22,9 +22,9 @@
import zope.app.http
class TestPUT(TestCase):
-
+
layer = BrowserLayer(zope.app.http)
-
+
def test_put(self):
# PUT something for the first time
response = http(r"""PUT /testfile.txt HTTP/1.1
@@ -33,7 +33,7 @@
Content-Type: text/plain
This is just a test.""")
-
+
self.assertEquals(response.getStatus(), 201)
self.assertEquals(response.getHeader("Location"),
"http://localhost/testfile.txt")
@@ -55,8 +55,8 @@
response = http(r"""GET /testfile.txt HTTP/1.1
Authorization: Basic globalmgr:globalmgrpw""")
self.assertEquals(response.getBody(), "And now it is modified.")
-
-
+
+
def test_suite():
return TestSuite((
makeSuite(TestPUT),
More information about the checkins
mailing list