[Zope3-checkins] CVS: Zope3/src/zope/publisher/tests - test_browserrequest.py:1.4 test_http.py:1.5 test_publisher.py:1.3 test_xmlrpcrequest.py:1.4

Albertas Agejevas alga@codeworks.lt
Thu, 13 Mar 2003 13:49:46 -0500


Update of /cvs-repository/Zope3/src/zope/publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv1411/src/zope/publisher/tests

Modified Files:
	test_browserrequest.py test_http.py test_publisher.py 
	test_xmlrpcrequest.py 
Log Message:
An unexpected raid by the Whitespace Police.

Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.



=== Zope3/src/zope/publisher/tests/test_browserrequest.py 1.3 => 1.4 ===
--- Zope3/src/zope/publisher/tests/test_browserrequest.py:1.3	Mon Dec 30 21:52:19 2002
+++ Zope3/src/zope/publisher/tests/test_browserrequest.py	Thu Mar 13 13:49:15 2003
@@ -130,10 +130,10 @@
         # test the IView request
         r = self._createRequest()
 
-        self.failUnless( r.getPresentationType() is IBrowserPresentation)
-        self.assertEqual( r.getPresentationSkin(), '')
-        r.setViewSkin( 'morefoo' )
-        self.assertEqual( r.getPresentationSkin(), 'morefoo')
+        self.failUnless(r.getPresentationType() is IBrowserPresentation)
+        self.assertEqual(r.getPresentationSkin(), '')
+        r.setViewSkin('morefoo')
+        self.assertEqual(r.getPresentationSkin(), 'morefoo')
 
     def testNoDefault(self):
         request = self._createRequest()
@@ -260,4 +260,4 @@
 
 
 if __name__ == '__main__':
-    unittest.TextTestRunner().run( test_suite() )
+    unittest.TextTestRunner().run(test_suite())


=== Zope3/src/zope/publisher/tests/test_http.py 1.4 => 1.5 ===
--- Zope3/src/zope/publisher/tests/test_http.py:1.4	Sun Mar  2 13:09:03 2003
+++ Zope3/src/zope/publisher/tests/test_http.py	Thu Mar 13 13:49:15 2003
@@ -148,8 +148,8 @@
 
         self.assertEquals(r.getPresentationType(), IHTTPPresentation)
         self.assertEqual(r.getPresentationSkin(), '')
-        r.setViewSkin( 'morefoo' )
-        self.assertEqual( r.getPresentationSkin(), 'morefoo')
+        r.setViewSkin('morefoo')
+        self.assertEqual(r.getPresentationSkin(), 'morefoo')
 
     def test_method(self):
         r = self._createRequest(extra_env={'REQUEST_METHOD':'SPAM'})
@@ -164,4 +164,4 @@
 
 
 if __name__ == '__main__':
-    unittest.TextTestRunner().run( test_suite() )
+    unittest.TextTestRunner().run(test_suite())


=== Zope3/src/zope/publisher/tests/test_publisher.py 1.2 => 1.3 ===
--- Zope3/src/zope/publisher/tests/test_publisher.py:1.2	Wed Dec 25 09:15:19 2002
+++ Zope3/src/zope/publisher/tests/test_publisher.py	Thu Mar 13 13:49:15 2003
@@ -105,4 +105,4 @@
     return loader.loadTestsFromTestCase(PublisherTests)
 
 if __name__=='__main__':
-    unittest.TextTestRunner().run( test_suite() )
+    unittest.TextTestRunner().run(test_suite())


=== Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py 1.3 => 1.4 ===
--- Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py:1.3	Mon Dec 30 21:52:19 2002
+++ Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py	Thu Mar 13 13:49:15 2003
@@ -120,7 +120,7 @@
 
     def testIPresentationRequest(self):
         r = self._createRequest()
-        self.failUnless( r.getPresentationType() is IXMLRPCPresentation)
+        self.failUnless(r.getPresentationType() is IXMLRPCPresentation)
 
 
     def testProcessInput(self):
@@ -143,4 +143,4 @@
     return loader.loadTestsFromTestCase(XMLRPCTests)
 
 if __name__=='__main__':
-    unittest.TextTestRunner().run( test_suite() )
+    unittest.TextTestRunner().run(test_suite())