[Zodb-checkins] CVS: Zope3/src/zope/interface/tests - iimplementor.py:1.3
Fred L. Drake, Jr.
fred@zope.com
Thu, 3 Apr 2003 17:05:37 -0500
Update of /cvs-repository/Zope3/src/zope/interface/tests
In directory cvs.zope.org:/tmp/cvs-serv10877/interface/tests
Modified Files:
iimplementor.py
Log Message:
Added configuration user-interface for the local utility service.
=== Zope3/src/zope/interface/tests/iimplementor.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/tests/iimplementor.py:1.2 Wed Dec 25 09:15:12 2002
+++ Zope3/src/zope/interface/tests/iimplementor.py Thu Apr 3 17:05:36 2003
@@ -64,3 +64,8 @@
def testBadProvide(self):
registry = self.__registry()
self.assertRaises(TypeError, registry.register, None, '')
+
+ def test_getRegisteredMatching(self):
+ registry = self.__registry()
+ self.assertEqual(list(registry.getRegisteredMatching()),
+ [(P3, 'C3')])