[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/tests - AdderBaseTests.py:1.1.2.4

Stephan Richter srichter@cbu.edu
Tue, 2 Apr 2002 17:25:19 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv20267/lib/python/Zope/App/OFS/Container/Views/Browser/tests

Modified Files:
      Tag: Zope-3x-branch
	AdderBaseTests.py 
Log Message:
Issue 54: Resolve

Cleaned up the ZMI namespace quiet a bit:

- Removed the deprecated provideClass directive from the Code.
- Added "class" attribute to factoryFromClass to the "zmi" and "service" 
  namespace.
- Changed existing directives to reflect this change.
- Corrected tests. 



=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/tests/AdderBaseTests.py 1.1.2.3 => 1.1.2.4 ===
 ##############################################################################
 from Zope.App.OFS.Container.Views.Browser.Adder import DuplicateIDError
-from Zope.App.ZMI.provideClass import provideClass
+from Zope.App.ZMI import provideClass
 from Zope.Testing.CleanUp import CleanUp # Base class w registry cleanup
 import Zope.Configuration.name