[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful/tests - test_definition.py:1.4

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


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

Modified Files:
	test_definition.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/workflow/stateful/tests/test_definition.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/workflow/stateful/tests/test_definition.py:1.3	Sun Sep 21 13:34:00 2003
+++ Zope3/src/zope/app/workflow/stateful/tests/test_definition.py	Thu Nov 27 08:59:27 2003
@@ -53,7 +53,7 @@
 class StatefulProcessDefinitionTests(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(StatefulProcessDefinitionTests, self).setUp()
         self.pd = pd = StatefulProcessDefinition()
         self.doMinimalSetup()
 
@@ -138,7 +138,7 @@
                                                unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(StatefulProcessDefinitionAttributesTests, self).setUp()
         self.pd = pd = StatefulProcessDefinition()
         self.doMinimalSetup()
 




More information about the Zope3-Checkins mailing list