[Zope3-checkins] CVS: Zope3/src/zope/app/browser/tests -
test_absoluteurl.py:1.18
Philipp von Weitershausen
cvs-admin at zope.org
Thu Nov 27 08:59:46 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/browser/tests
Modified Files:
test_absoluteurl.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/tests/test_absoluteurl.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/browser/tests/test_absoluteurl.py:1.17 Fri Nov 21 12:11:22 2003
+++ Zope3/src/zope/app/browser/tests/test_absoluteurl.py Thu Nov 27 08:59:15 2003
@@ -45,7 +45,7 @@
class TestAbsoluteURL(PlacelessSetup, TestCase):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(TestAbsoluteURL, self).setUp()
from zope.app.browser.absoluteurl \
import AbsoluteURL, SiteAbsoluteURL
ztapi.browserView(None, 'absolute_url', [AbsoluteURL])
More information about the Zope3-Checkins
mailing list