[Zope3-checkins] CVS: Zope3/src/zope/app/component/tests - test_wrapper_hooks.py:1.1.2.5
Steve Alexander
steve@cat-box.net
Fri, 16 May 2003 09:37:27 -0400
Update of /cvs-repository/Zope3/src/zope/app/component/tests
In directory cvs.zope.org:/tmp/cvs-serv12684/src/zope/app/component/tests
Modified Files:
Tag: stevea-decorators-branch
test_wrapper_hooks.py
Log Message:
Improvements in documentation.
Added one XXX comment for a case I handn't thought of that needs to be
tested for and implemented.
=== Zope3/src/zope/app/component/tests/test_wrapper_hooks.py 1.1.2.4 => 1.1.2.5 ===
--- Zope3/src/zope/app/component/tests/test_wrapper_hooks.py:1.1.2.4 Fri May 16 09:01:37 2003
+++ Zope3/src/zope/app/component/tests/test_wrapper_hooks.py Fri May 16 09:37:27 2003
@@ -242,8 +242,8 @@
self.assert_(type(w) is Proxy)
self.assert_(getChecker(w) is getChecker(proxied_obj))
self.assert_(type(getObject(w)) is Wrapper)
- # Confusingly, getobject is to unwrap Wrappers and getObject is to
- # unwrap Proxies.
+ # Confusingly, 'getobject' is used to unwrap Wrappers, and
+ # 'getObject' is used to unwrap Proxies.
self.assert_(getobject(getObject(w)) is obj)
def test_suite():