[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_browserpublication.py:1.14

Jim Fulton jim@zope.com
Wed, 28 May 2003 13:19:53 -0400


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

Modified Files:
	test_browserpublication.py 
Log Message:
renamed zope.proxy.getObject to zope.proxy.getProxiedObject


=== Zope3/src/zope/app/publication/tests/test_browserpublication.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/publication/tests/test_browserpublication.py:1.13	Wed May 28 11:46:30 2003
+++ Zope3/src/zope/app/publication/tests/test_browserpublication.py	Wed May 28 13:19:22 2003
@@ -26,7 +26,7 @@
      import IBrowserPresentation, IBrowserPublisher
 
 from zope.context import getWrapperContext, isWrapper
-from zope.proxy import removeAllProxies, getObject
+from zope.proxy import removeAllProxies, getProxiedObject
 from zope.security.proxy import Proxy
 from zope.security.checker import defineChecker, NamesChecker
 
@@ -177,7 +177,7 @@
         ob2 = pub.traverseName(self._createRequest('/bruce', pub), ob, 'bruce')
         self.failUnless(ob2 is not ob)
         self.failUnless(type(ob2) is Proxy)
-        ob2 = getObject(ob2)
+        ob2 = getProxiedObject(ob2)
         self.failUnless(isWrapper(ob2))
 
     def testAdaptedTraverseNameWrapping(self):
@@ -201,7 +201,7 @@
         pub = self.klass(self.db)
         ob2 = pub.traverseName(self._createRequest('/bruce', pub), ob, 'bruce')
         self.failUnless(type(ob2) is Proxy)
-        ob2 = getObject(ob2)
+        ob2 = getProxiedObject(ob2)
         self.failUnless(isWrapper(ob2))
         unw = removeAllProxies(ob2)
         self.assertEqual(unw.v, 'bruce')
@@ -225,7 +225,7 @@
         ob2, x = pub.getDefaultTraversal(self._createRequest('/bruce',pub), ob)
         self.assertEqual(x, 'dummy')
         self.failUnless(type(ob2) is Proxy)
-        ob2 = getObject(ob2)
+        ob2 = getProxiedObject(ob2)
         self.failUnless(isWrapper(ob2))
         unw = removeAllProxies(ob2)
         self.assertEqual(unw.v, 'bruce')