[Zope3-checkins] CVS: Zope3/src/zope/publisher/tests -
test_browserrequest.py:1.10 test_xmlrpcrequest.py:1.7
Philipp von Weitershausen
philikon at philikon.de
Mon Jan 12 03:02:04 EST 2004
Update of /cvs-repository/Zope3/src/zope/publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv8500/publisher/tests
Modified Files:
test_browserrequest.py test_xmlrpcrequest.py
Log Message:
Use super() for invoking placeless setUp() in test cases.
=== Zope3/src/zope/publisher/tests/test_browserrequest.py 1.9 => 1.10 ===
--- Zope3/src/zope/publisher/tests/test_browserrequest.py:1.9 Fri Nov 21 12:12:29 2003
+++ Zope3/src/zope/publisher/tests/test_browserrequest.py Mon Jan 12 03:02:02 2004
@@ -60,7 +60,7 @@
}
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(BrowserTests, self).setUp()
ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
HTTPCharsets)
=== Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py 1.6 => 1.7 ===
--- Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py:1.6 Fri Nov 21 12:12:29 2003
+++ Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py Mon Jan 12 03:02:02 2004
@@ -49,7 +49,7 @@
'''
-class XMLRPCTests(unittest.TestCase, PlacelessSetup):
+class XMLRPCTests(PlacelessSetup, unittest.TestCase):
"""The only thing different to HTTP is the input processing; so there
is no need to redo all the HTTP tests again.
"""
@@ -68,7 +68,7 @@
}
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(XMLRPCTests, self).setUp()
as = zope.component.getService(None, 'Adapters')
as.provideAdapter(IHTTPRequest, IUserPreferredCharsets, [HTTPCharsets])
More information about the Zope3-Checkins
mailing list