[Zope3-checkins] CVS: Zope3/src/zope/app/fssync/tests - test_committer.py:1.19

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


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

Modified Files:
	test_committer.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/fssync/tests/test_committer.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/fssync/tests/test_committer.py:1.18	Fri Nov 21 12:12:05 2003
+++ Zope3/src/zope/app/fssync/tests/test_committer.py	Thu Nov 27 08:59:19 2003
@@ -111,13 +111,13 @@
                 del old[key]
 
 
-class TestBase(TempFiles, PlacelessSetup):
+class TestBase(PlacelessSetup, TempFiles):
 
     # Base class for test classes
 
     def setUp(self):
         # Set up standard services
-        PlacelessSetup.setUp(self)
+        super(TestBase, self).setUp()
 
         # Set up FSRegistryService
         serviceManager.defineService("FSRegistryService", IGlobalFSSyncService)




More information about the Zope3-Checkins mailing list