[Zope3-checkins] CVS: Zope3/src/zope/proxy/tests - test_proxy.py:1.10
Jim Fulton
jim@zope.com
Wed, 28 May 2003 13:19:54 -0400
Update of /cvs-repository/Zope3/src/zope/proxy/tests
In directory cvs.zope.org:/tmp/cvs-serv25942/src/zope/proxy/tests
Modified Files:
test_proxy.py
Log Message:
renamed zope.proxy.getObject to zope.proxy.getProxiedObject
=== Zope3/src/zope/proxy/tests/test_proxy.py 1.9 => 1.10 ===
--- Zope3/src/zope/proxy/tests/test_proxy.py:1.9 Wed May 28 11:49:12 2003
+++ Zope3/src/zope/proxy/tests/test_proxy.py Wed May 28 13:19:23 2003
@@ -370,19 +370,19 @@
"""
-def test_getObject():
+def test_getProxiedObject():
"""
- >>> from zope.proxy import ProxyBase, getObject
+ >>> from zope.proxy import ProxyBase, getProxiedObject
>>> class C:
... pass
>>> c = C()
- >>> int(getObject(c) is c)
+ >>> int(getProxiedObject(c) is c)
1
>>> p = ProxyBase(c)
- >>> int(getObject(p) is c)
+ >>> int(getProxiedObject(p) is c)
1
>>> p2 = ProxyBase(p)
- >>> int(getObject(p2) is p)
+ >>> int(getProxiedObject(p2) is p)
1
"""