[Zope3-checkins] CVS: Zope3/src/zope/app/process/tests - test_bootstrap.py:1.3

Jim Fulton jim at zope.com
Tue Sep 2 17:47:19 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/process/tests
In directory cvs.zope.org:/tmp/cvs-serv16881/src/zope/app/process/tests

Modified Files:
	test_bootstrap.py 
Log Message:
Added ISite, which is a marker interface indicating that an object is
a site.

When an object is made into a site, ISite is declared for it.

Change to test whether something is a site by testing whether 
it (declares it) implements ISite.


=== Zope3/src/zope/app/process/tests/test_bootstrap.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/process/tests/test_bootstrap.py:1.2	Sun Aug 17 02:07:30 2003
+++ Zope3/src/zope/app/process/tests/test_bootstrap.py	Tue Sep  2 16:46:48 2003
@@ -64,7 +64,7 @@
         self.root_folder = RootFolder()
         root[ZopePublication.root_name] = self.root_folder
         self.service_manager = ServiceManager()
-        self.root_folder.setServiceManager(self.service_manager)
+        self.root_folder.setSiteManager(self.service_manager)
         get_transaction().commit()
         cx.close()
 




More information about the Zope3-Checkins mailing list