[Zope3-checkins] CVS: Zope3/src/zope/app/onlinehelp/tests -
test_helpdirectives.py:1.8 test_onlinehelp.py:1.7
Philipp von Weitershausen
cvs-admin at zope.org
Thu Nov 27 08:59:53 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/onlinehelp/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/onlinehelp/tests
Modified Files:
test_helpdirectives.py test_onlinehelp.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/onlinehelp/tests/test_helpdirectives.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/onlinehelp/tests/test_helpdirectives.py:1.7 Fri Nov 21 12:12:08 2003
+++ Zope3/src/zope/app/onlinehelp/tests/test_helpdirectives.py Thu Nov 27 08:59:22 2003
@@ -36,7 +36,7 @@
class DirectivesTest(PlacelessSetup, unittest.TestCase):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(DirectivesTest, self).setUp()
ztapi.provideAdapter(None, ITraverser, Traverser)
ztapi.provideAdapter(None, ITraversable, DefaultTraversable)
ztapi.provideAdapter(None, IPhysicallyLocatable,
=== Zope3/src/zope/app/onlinehelp/tests/test_onlinehelp.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/onlinehelp/tests/test_onlinehelp.py:1.6 Fri Nov 21 12:12:08 2003
+++ Zope3/src/zope/app/onlinehelp/tests/test_onlinehelp.py Thu Nov 27 08:59:22 2003
@@ -35,7 +35,7 @@
class TestOnlineHelp(PlacelessSetup, TestOnlineHelpTopic):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(TestOnlineHelp, self).setUp()
ztapi.provideAdapter(None, ITraverser, Traverser)
ztapi.provideAdapter(None, ITraversable, DefaultTraversable)
ztapi.provideAdapter(None, IPhysicallyLocatable,
More information about the Zope3-Checkins
mailing list