[Zope-Checkins] CVS: Zope3/lib/python/Interface/Common/tests - BaseTestMapping.py:1.1.4.3

Philipp von Weitershausen philikon@gmx.net
Wed, 10 Apr 2002 09:54:05 -0400


Update of /cvs-repository/Zope3/lib/python/Interface/Common/tests
In directory cvs.zope.org:/tmp/cvs-serv6608/lib/python/Interface/Common/tests

Modified Files:
      Tag: Zope-3x-branch
	BaseTestMapping.py 
Log Message:
Extended Interface IReadMapping with the has_key() method and
updated the corresponding implementations and tests.


=== Zope3/lib/python/Interface/Common/tests/BaseTestMapping.py 1.1.4.2 => 1.1.4.3 ===
         self.assertEqual(inst[key], state[key])
         self.assertEqual(inst.get(key, None), state[key])
+        self.failUnless(inst.has_key(key))
 
     for key in absent:
         self.assertEqual(inst.get(key, None), None)
@@ -73,6 +74,8 @@
         absent = self._IReadMapping__absentKeys()
 
         testIReadMapping(self, inst, state, absent)
+
+        
 
 
 class BaseTestIEnumerableMapping(BaseTestIReadMapping):