[Zope3-checkins] CVS: Zope3/lib/python/Zope/Configuration/tests - testNames.py:1.3

Jim Fulton jim@zope.com
Thu, 1 Aug 2002 14:42:48 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Configuration/tests
In directory cvs.zope.org:/tmp/cvs-serv5741/lib/python/Zope/Configuration/tests

Modified Files:
	testNames.py 
Log Message:
Removed dependcies of:

  Zope.ComponentArchitecture
  Zope.Configuration
  Zope.Exceptions
  Zope.Testing

on other packages, especially App, in preparation for making these
packages part of Zope 2 and useful outside of the Zope application.

In particular, all placeful service support was moved to
Zope.App.ComponentArchitecture.  

Placeful service implementors should get the nextService and
nextServiceManager functions from
Zope.App.ComponentArchitecture.NextService. 




=== Zope3/lib/python/Zope/Configuration/tests/testNames.py 1.2 => 1.3 ===
         
     def testPackage(self):
         from Zope.Configuration.name import resolve
-        c=resolve('Zope.App.ZMI')
-        import Zope.App.ZMI
+        c=resolve('Zope.Configuration.tests')
+        import Zope.Configuration.tests
 
-        self.assertEquals(id(c), id(Zope.App.ZMI))
+        self.assertEquals(id(c), id(Zope.Configuration.tests))
 
     nameSet={
         ('Zope.Configuration.tests','Noplace'):'Zope.Configuration.tests',