[Zope3-checkins] CVS: Zope3/src/zope/app/site/tests - test_folder.py:1.2 test_servicemanager.py:1.2 test_serviceregistration.py:1.2

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


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

Modified Files:
	test_folder.py test_servicemanager.py 
	test_serviceregistration.py 
Log Message:


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


=== Zope3/src/zope/app/site/tests/test_folder.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/site/tests/test_folder.py:1.1	Sat Mar 13 10:21:57 2004
+++ Zope3/src/zope/app/site/tests/test_folder.py	Sat Mar 13 13:01:22 2004
@@ -16,7 +16,7 @@
 $Id$
 """
 import unittest
-from zope.app.services.tests.test_registrationmanager \
+from zope.app.registration.tests.test_registrationmanager \
      import RegistrationManagerContainerTests
 
 


=== Zope3/src/zope/app/site/tests/test_servicemanager.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/site/tests/test_servicemanager.py:1.1	Sat Mar 13 10:21:57 2004
+++ Zope3/src/zope/app/site/tests/test_servicemanager.py	Sat Mar 13 13:01:22 2004
@@ -20,14 +20,13 @@
 from zope.app import zapi
 from zope.app.tests import setup
 from zope.interface import Interface, implements
-from zope.app.site.service import ServiceManager
-from zope.app.site.service import ServiceRegistration
+from zope.app.site.service import ServiceManager, ServiceRegistration
 from zope.component import getService, getServiceManager
 from zope.app.site.tests.placefulsetup import PlacefulSetup
 from zope.app.traversing import traverse
-from zope.app.interfaces.services.registration import UnregisteredStatus
-from zope.app.interfaces.services.registration import ActiveStatus
-from zope.app.interfaces.services.registration import RegisteredStatus
+from zope.app.registration.interfaces import UnregisteredStatus
+from zope.app.registration.interfaces import ActiveStatus
+from zope.app.registration.interfaces import RegisteredStatus
 from zope.component.service import serviceManager
 from zope.app.interfaces.annotation import IAttributeAnnotatable
 


=== Zope3/src/zope/app/site/tests/test_serviceregistration.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/site/tests/test_serviceregistration.py:1.1	Sat Mar 13 10:21:57 2004
+++ Zope3/src/zope/app/site/tests/test_serviceregistration.py	Sat Mar 13 13:01:22 2004
@@ -26,9 +26,9 @@
 from zope.app.site.tests.placefulsetup import PlacefulSetup
 from zope.component.service import defineService
 from zope.app.site.interfaces import IBindingAware
-from zope.app.interfaces.services.registration import ActiveStatus
-from zope.app.interfaces.services.registration import RegisteredStatus
-from zope.app.interfaces.services.registration import IRegistered
+from zope.app.registration.interfaces import ActiveStatus
+from zope.app.registration.interfaces import RegisteredStatus
+from zope.app.registration.interfaces import IRegistered
 from zope.app.site.interfaces import ISimpleService
 
 from zope.app.interfaces.dependable import IDependable, DependencyError




More information about the Zope3-Checkins mailing list