[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py backoprt rev26214.

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Aug 11 16:07:26 EDT 2004


Log message for revision 27023:
  backoprt rev26214.
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py	2004-08-11 20:04:56 UTC (rev 27022)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py	2004-08-11 20:07:26 UTC (rev 27023)
@@ -39,14 +39,12 @@
 import zope.app.tests.setup
 from zope.app.component.hooks import setSite, getSite
 
-__metaclass__ = type
 
-
 class HTTPTaskStub(StringIO):
     pass
 
 
-class ResponseWrapper:
+class ResponseWrapper(object):
     """A wrapper that adds several introspective methods to a response."""
 
     def __init__(self, response, outstream, path):
@@ -75,7 +73,7 @@
         return getattr(self._response, attr)
 
 
-class FunctionalTestSetup:
+class FunctionalTestSetup(object):
     """Keeps shared state across several functional test cases."""
 
     __shared_state = { '_init': False }



More information about the Zope3-Checkins mailing list