[Zope3-checkins] CVS: Zope3/src/zope/app/schema/tests - test_interfaceutility.py:1.4

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Mar 13 13:01:50 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/schema/tests
In directory cvs.zope.org:/tmp/cvs-serv27233/src/zope/app/schema/tests

Modified Files:
	test_interfaceutility.py 
Log Message:


Moved registration code to zope.app.registration. Created module aliases, so
that old ZODBs work.


=== Zope3/src/zope/app/schema/tests/test_interfaceutility.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/schema/tests/test_interfaceutility.py:1.3	Sat Mar 13 10:21:31 2004
+++ Zope3/src/zope/app/schema/tests/test_interfaceutility.py	Sat Mar 13 13:01:19 2004
@@ -27,12 +27,12 @@
 from zope.component import getService
 from zope.component.exceptions import ComponentLookupError
 from zope.app.traversing import traverse
-from zope.app.interfaces.services.registration import IRegistrationStack
-from zope.app.interfaces.services.registration import UnregisteredStatus
-from zope.app.interfaces.services.registration import RegisteredStatus
-from zope.app.interfaces.services.registration import ActiveStatus
+from zope.app.registration.interfaces import IRegistrationStack
+from zope.app.registration.interfaces import UnregisteredStatus
+from zope.app.registration.interfaces import RegisteredStatus
+from zope.app.registration.interfaces import ActiveStatus
+from zope.app.registration.interfaces import IRegistered
 from zope.app.utility.interfaces import ILocalUtility
-from zope.app.interfaces.services.registration import IRegistered
 from zope.app.interfaces.dependable import IDependable
 from zope.app.tests import setup
 from zope.interface.interface import InterfaceClass
@@ -55,16 +55,16 @@
         return 'foo ' + self.name
 
     def addUsage(self, location):
-        "See zope.app.interfaces.services.registration.IRegistered"
+        "See zope.app.registration.interfaces.IRegistered"
         if location not in self._usages:
             self._usages.append(location)
 
     def removeUsage(self, location):
-        "See zope.app.interfaces.services.registration.IRegistered"
+        "See zope.app.registration.interfaces.IRegistered"
         self._usages.remove(location)
 
     def usages(self):
-        "See zope.app.interfaces.services.registration.IRegistered"
+        "See zope.app.registration.interfaces.IRegistered"
         return self._usages
 
     def addDependent(self, location):




More information about the Zope3-Checkins mailing list