[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_interface.py:1.4
Jeremy Hylton
jeremy@zope.com
Tue, 28 Jan 2003 16:03:46 -0500
Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv2281/zope/app/services/tests
Modified Files:
test_interface.py
Log Message:
Add explicit register() function to interface module.
Call it when loading tests and starting the zope3 app.
=== Zope3/src/zope/app/services/tests/test_interface.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/services/tests/test_interface.py:1.3 Tue Jan 28 14:23:45 2003
+++ Zope3/src/zope/app/services/tests/test_interface.py Tue Jan 28 16:03:12 2003
@@ -20,7 +20,9 @@
from zodb.code.module import ManagedRegistry
from zope.interface import Interface
-from zope.app.services.interface import PersistentInterface
+from zope.app.services.interface import PersistentInterface, register
+
+register()
code = """\
from zope.interface import Interface