[Zope3-checkins] CVS: Zope3/src/zope/app/process/tests -
test_bootstrap.py:1.3.2.1
Jim Fulton
jim at zope.com
Fri Sep 12 16:47:00 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/process/tests
In directory cvs.zope.org:/tmp/cvs-serv29614/src/zope/app/process/tests
Modified Files:
Tag: parentgeddon-branch
test_bootstrap.py
Log Message:
merged Folder and RootFolder
=== Zope3/src/zope/app/process/tests/test_bootstrap.py 1.3 => 1.3.2.1 ===
--- Zope3/src/zope/app/process/tests/test_bootstrap.py:1.3 Tue Sep 2 16:46:48 2003
+++ Zope3/src/zope/app/process/tests/test_bootstrap.py Fri Sep 12 16:46:27 2003
@@ -20,7 +20,7 @@
from transaction import get_transaction
from zodb.db import DB
from zodb.storage.memory import MemoryFullStorage
-from zope.app.content.folder import RootFolder
+from zope.app.content.folder import rootFolder
from zope.app.interfaces.content.folder import IRootFolder
from zope.app.interfaces.services.error import IErrorReportingService
from zope.app.interfaces.services.principalannotation \
@@ -53,7 +53,7 @@
def createRootFolder(self):
cx = self.db.open()
root = cx.root()
- self.root_folder = RootFolder()
+ self.root_folder = rootFolder()
root[ZopePublication.root_name] = self.root_folder
get_transaction().commit()
cx.close()
@@ -61,7 +61,7 @@
def createRFAndSM(self):
cx = self.db.open()
root = cx.root()
- self.root_folder = RootFolder()
+ self.root_folder = rootFolder()
root[ZopePublication.root_name] = self.root_folder
self.service_manager = ServiceManager()
self.root_folder.setSiteManager(self.service_manager)
More information about the Zope3-Checkins
mailing list