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

Jim Fulton jim at zope.com
Tue Sep 9 17:32:15 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	functional.py 
Log Message:
got more tests to pass on branch

=== Zope3/src/zope/testing/functional.py 1.14 => 1.14.4.1 ===
--- Zope3/src/zope/testing/functional.py:1.14	Wed Aug 13 17:13:58 2003
+++ Zope3/src/zope/testing/functional.py	Tue Sep  9 16:32:14 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 Zope3-Checkins mailing list