[Zope3-checkins] CVS: Zope3/src/zope/server/http/tests - test_publisherserver.py:1.7

Philipp von Weitershausen philikon at philikon.de
Mon Jan 12 03:02:33 EST 2004


Update of /cvs-repository/Zope3/src/zope/server/http/tests
In directory cvs.zope.org:/tmp/cvs-serv8500/server/http/tests

Modified Files:
	test_publisherserver.py 
Log Message:
Use super() for invoking placeless setUp() in test cases.


=== Zope3/src/zope/server/http/tests/test_publisherserver.py 1.6 => 1.7 ===
--- Zope3/src/zope/server/http/tests/test_publisherserver.py:1.6	Fri Nov 21 12:12:45 2003
+++ Zope3/src/zope/server/http/tests/test_publisherserver.py	Mon Jan 12 03:02:01 2004
@@ -91,7 +91,7 @@
 class Tests(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(Tests, self).setUp()
         as = zope.component.getService(None, 'Adapters')
         as.provideAdapter(IHTTPRequest, IUserPreferredCharsets, [HTTPCharsets])
         obj = tested_object()




More information about the Zope3-Checkins mailing list