[Zodb-checkins] CVS: Zope3/src/zope/testing - functional.py:1.15

Jim Fulton jim at zope.com
Sun Sep 21 13:31:17 EDT 2003


Update of /cvs-repository/Zope3/src/zope/testing
In directory cvs.zope.org:/tmp/cvs-serv12774/src/zope/testing

Modified Files:
	functional.py 
Log Message:
No-longer use context wrappers.


=== Zope3/src/zope/testing/functional.py 1.14 => 1.15 ===
--- Zope3/src/zope/testing/functional.py:1.14	Wed Aug 13 17:13:58 2003
+++ Zope3/src/zope/testing/functional.py	Sun Sep 21 13:31:16 2003
@@ -30,7 +30,6 @@
 from zodb.storage.memory import MemoryFullStorage
 from zodb.storage.demo import DemoStorage
 from zope.app import Application
-from zope.app.context import ContextWrapper
 from zope.app.publication.zopepublication import ZopePublication
 from zope.app.publication.http import HTTPPublication
 from zope.publisher.browser import BrowserRequest
@@ -124,7 +123,7 @@
         if not self.connection:
             self.connection = self.db.open()
         root = self.connection.root()
-        return ContextWrapper(root[ZopePublication.root_name], None)
+        return root[ZopePublication.root_name]
 
     def getApplication(self):
         """Returns the Zope application instance."""




More information about the Zodb-checkins mailing list