[Zope3-checkins] CVS: Zope3/src/zope/app/mail/tests -
test_directives.py:1.9
Philipp von Weitershausen
cvs-admin at zope.org
Thu Nov 27 08:59:52 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/mail/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/mail/tests
Modified Files:
test_directives.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/mail/tests/test_directives.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/mail/tests/test_directives.py:1.8 Mon Sep 22 18:37:25 2003
+++ Zope3/src/zope/app/mail/tests/test_directives.py Thu Nov 27 08:59:21 2003
@@ -47,7 +47,7 @@
class DirectivesTest(PlacelessSetup, unittest.TestCase):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(DirectivesTest, self).setUp()
managerHandler('defineService', 'Mail', IMailService)
managerHandler('defineService', 'Mail2', IMailService)
provideInterface('zope.app.interfaces.mail.IMailService', IMailService)
More information about the Zope3-Checkins
mailing list