[Zope-Checkins] CVS: Zope3/lib/python/Interface/tests - testInterface.py:1.1.4.6
Jim Fulton
jim@zope.com
Fri, 7 Jun 2002 14:00:15 -0400
Update of /cvs-repository/Zope3/lib/python/Interface/tests
In directory cvs.zope.org:/tmp/cvs-serv2585/lib/python/Interface/tests
Modified Files:
Tag: Zope-3x-branch
testInterface.py
Log Message:
Split the Interface getDescription method into getDescription and
queryDescription methods, according to the new get/query method
convention.
=== Zope3/lib/python/Interface/tests/testInterface.py 1.1.4.5 => 1.1.4.6 ===
self.assertEqual(_I2.getDescriptionFor('f11').__name__, 'f11')
self.assertEqual(_I2.getDescriptionFor('f22').__name__, 'f22')
- self.assertEqual(_I2.getDescriptionFor('f33', self), self)
+ self.assertEqual(_I2.queryDescriptionFor('f33', self), self)
self.assertRaises(KeyError, _I2.getDescriptionFor, 'f33')
def testAttr(self):