[Zope-Checkins] CVS: Zope3/lib/python/Zope/ContextWrapper - test_wrapper.py:1.6.2.5
Chris McDonough
chrism@zope.com
Fri, 30 Nov 2001 16:08:46 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv11297
Modified Files:
Tag: Zope-3x-branch
test_wrapper.py
Log Message:
Added test_callable.
=== Zope3/lib/python/Zope/ContextWrapper/test_wrapper.py 1.6.2.4 => 1.6.2.5 ===
self.assertEquals(w, 'foo')
+ def test_proxy_callable(self):
+ w = wrapper.Wrapper({}.get)
+ self.assert_(callable(w))
+
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(WrapperTestCase))