[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/field/tests - test_control.py:1.2

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


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

Modified Files:
	test_control.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/browser/index/field/tests/test_control.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/index/field/tests/test_control.py:1.1	Sun Jun 22 12:10:56 2003
+++ Zope3/src/zope/app/browser/index/field/tests/test_control.py	Thu Nov 27 08:59:13 2003
@@ -55,7 +55,7 @@
 class TestControlView(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(TestControlView, self).setUp()
         service_manager = getServiceManager(None)
         service_manager.defineService(HubIds, IObjectHub)
         service_manager.provideService(HubIds, ObjectHubStub())




More information about the Zope3-Checkins mailing list