[Zope3-checkins] CVS: Zope3/src/zope/app/dublincore/tests - test_creatorannotator.py:1.5.22.1

Jim Fulton cvs-admin at zope.org
Tue Nov 18 17:26:58 EST 2003


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

Modified Files:
      Tag: adaptergeddon-branch
	test_creatorannotator.py 
Log Message:
Implemented local presentation services.


=== Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py 1.5 => 1.5.22.1 ===
--- Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py:1.5	Fri Jul 11 04:33:00 2003
+++ Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py	Tue Nov 18 17:26:27 2003
@@ -21,7 +21,7 @@
 from zope.testing.cleanup import CleanUp
 
 from zope.interface import Interface, implements
-from zope.component.adapter import provideAdapter
+from zope.app.tests import ztapi
 
 from zope.app.dublincore.creatorannotator import CreatorAnnotator
 from zope.app.interfaces.dublincore import IZopeDublinCore
@@ -74,7 +74,7 @@
 
     def setUp(self):
         PlacefulSetup.setUp(self)
-        provideAdapter(IDummyContent, IZopeDublinCore, DummyDCAdapter)
+        ztapi.provideAdapter(IDummyContent, IZopeDublinCore, DummyDCAdapter)
         noSecurityManager()
         
     def tearDown(self):




More information about the Zope3-Checkins mailing list