[Zope3-checkins] CVS: Zope3/src/zope/component/tests -
test_adapter.py:1.4
Jim Fulton
jim at zope.com
Wed Apr 7 15:18:59 EDT 2004
Update of /cvs-repository/Zope3/src/zope/component/tests
In directory cvs.zope.org:/tmp/cvs-serv14275/src/zope/component/tests
Modified Files:
test_adapter.py
Log Message:
Implemented a new interface, IComponentRegistry, that defines a method,
registrations, for getting all of the registrations from a registry as
objects. This simple method is meant to replace getRegisteredMatching.
=== Zope3/src/zope/component/tests/test_adapter.py 1.3 => 1.4 ===
--- Zope3/src/zope/component/tests/test_adapter.py:1.3 Mon Mar 15 15:42:24 2004
+++ Zope3/src/zope/component/tests/test_adapter.py Wed Apr 7 15:18:58 2004
@@ -178,4 +178,7 @@
testServiceManager._clear()
def test_suite():
- return unittest.makeSuite(GlobalAdapterServiceTests)
+ suite = unittest.makeSuite(GlobalAdapterServiceTests)
+ from doctest import DocTestSuite
+ suite.addTest(DocTestSuite('zope.component.adapter'))
+ return suite
More information about the Zope3-Checkins
mailing list