[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_browserpublication.py:1.10
Jim Fulton
jim@zope.com
Sun, 23 Mar 2003 17:36:14 -0500
Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv15726/src/zope/app/publication/tests
Modified Files:
test_browserpublication.py
Log Message:
Renamed ++etc++Services to ++etc++site and renamed
++etc++ApplicationController to ++etc++process.
=== Zope3/src/zope/app/publication/tests/test_browserpublication.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/publication/tests/test_browserpublication.py:1.9 Thu Mar 13 13:49:08 2003
+++ Zope3/src/zope/app/publication/tests/test_browserpublication.py Sun Mar 23 17:35:40 2003
@@ -286,8 +286,8 @@
def getServiceManager(self):
return SimpleObject(1)
ob = C()
- r = self._createRequest('/++etc++Services',pub)
- ob2 = pub.traverseName(r, ob, '++etc++Services')
+ r = self._createRequest('/++etc++site',pub)
+ ob2 = pub.traverseName(r, ob, '++etc++site')
self.assertEqual(removeAllProxies(ob2).v, 1)
self.assertEqual(getWrapperContext(ob2), ob)
@@ -295,12 +295,12 @@
from zope.app.applicationcontrol.applicationcontrol \
import applicationController, applicationControllerRoot
pub = self.klass(self.db)
- r = self._createRequest('/++etc++ApplicationController',pub)
+ r = self._createRequest('/++etc++process',pub)
ac = pub.traverseName(r,
applicationControllerRoot,
- '++etc++ApplicationController')
+ '++etc++process')
self.assertEqual(ac, applicationController)
- r = self._createRequest('/++etc++ApplicationController',pub)
+ r = self._createRequest('/++etc++process',pub)
app = r.publication.getApplication(r)
self.assertEqual(app, applicationControllerRoot)