[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/ifacemodule -
__init__.py:1.5
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Mar 28 18:40:33 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/apidoc/ifacemodule
In directory cvs.zope.org:/tmp/cvs-serv22602/src/zope/app/apidoc/ifacemodule
Modified Files:
__init__.py
Log Message:
Cleanup tests.
=== Zope3/src/zope/app/apidoc/ifacemodule/__init__.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/apidoc/ifacemodule/__init__.py:1.4 Fri Mar 5 10:45:52 2004
+++ Zope3/src/zope/app/apidoc/ifacemodule/__init__.py Sun Mar 28 18:40:32 2004
@@ -20,7 +20,6 @@
$Id$
"""
-
from zope.app import zapi
from zope.interface import implements
from zope.app.apidoc.interfaces import IDocumentationModule
@@ -45,10 +44,10 @@
Demonstration::
- >>> from zope.app.apidoc.ifacemodule import tests
- >>> tests.setUp()
-
>>> module = InterfaceModule()
+
+ Lookup an interface that is registered.
+
>>> module.get('IInterfaceModule').getName()
'IInterfaceModule'
@@ -65,8 +64,6 @@
>>> print '\n'.join([id for id, iface in module.items()])
IInterfaceModule
zope.app.apidoc.interfaces.IDocumentationModule
-
- >>> tests.tearDown()
"""
implements(IInterfaceModule)
More information about the Zope3-Checkins
mailing list