[Zope-Checkins] CVS: Zope3/lib/python/Zope/ContextWrapper - test_wrapper.py:1.6.2.8

Fred L. Drake, Jr. fdrake@acm.org
Thu, 21 Feb 2002 17:56:36 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv5998

Modified Files:
      Tag: Zope-3x-branch
	test_wrapper.py 
Log Message:
Added test that getobject() called on an object other than a wrapper returns
that object, not None.
http://collector.zope.org/Zope3-dev/5


=== Zope3/lib/python/Zope/ContextWrapper/test_wrapper.py 1.6.2.7 => 1.6.2.8 ===
         self.assert_(wrapper.getobject(w) is obj2)
         self.assert_(wrapper.getobject(None) is None)
+        self.assert_(wrapper.getobject(obj1) is obj1)
 
     def test_getbaseobject(self):
         obj = object()