[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_zopepublication.py:1.20

Philipp von Weitershausen cvs-admin at zope.org
Thu Nov 27 08:59:54 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/publication/tests

Modified Files:
	test_zopepublication.py 
Log Message:
Use super in test setUp methods. We can do this now because TestCase
(finally!) is a new-style class Python 2.3.


=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.19 => 1.20 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.19	Fri Nov 21 12:10:20 2003
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Thu Nov 27 08:59:23 2003
@@ -54,7 +54,7 @@
 class BasePublicationTests(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(BasePublicationTests, self).setUp()
         ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets, HTTPCharsets)
         self.policy = setSecurityPolicy(
             simplepolicies.PermissiveSecurityPolicy()




More information about the Zope3-Checkins mailing list