[Zope3-checkins] CVS: Zope3/src/zope/app/browser/tests -
test_absoluteurl.py:1.16.6.2 test_introspector.py:1.2.24.1
Jim Fulton
cvs-admin at zope.org
Tue Nov 18 17:26:55 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv19243/src/zope/app/browser/tests
Modified Files:
Tag: adaptergeddon-branch
test_absoluteurl.py test_introspector.py
Log Message:
Implemented local presentation services.
=== Zope3/src/zope/app/browser/tests/test_absoluteurl.py 1.16.6.1 => 1.16.6.2 ===
--- Zope3/src/zope/app/browser/tests/test_absoluteurl.py:1.16.6.1 Sun Nov 9 11:08:13 2003
+++ Zope3/src/zope/app/browser/tests/test_absoluteurl.py Tue Nov 18 17:26:24 2003
@@ -50,8 +50,8 @@
import AbsoluteURL, SiteAbsoluteURL
ztapi.browserView(None, 'absolute_url', [AbsoluteURL])
ztapi.browserView(IRoot, 'absolute_url', [SiteAbsoluteURL])
- provideAdapter = getService(None, Adapters).provideAdapter
- provideAdapter(IHTTPRequest, IUserPreferredCharsets, HTTPCharsets)
+ ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
+ HTTPCharsets)
def testBadObject(self):
request = TestRequest()
=== Zope3/src/zope/app/browser/tests/test_introspector.py 1.2 => 1.2.24.1 ===
--- Zope3/src/zope/app/browser/tests/test_introspector.py:1.2 Wed Jul 2 11:23:02 2003
+++ Zope3/src/zope/app/browser/tests/test_introspector.py Tue Nov 18 17:26:24 2003
@@ -25,7 +25,7 @@
from zope.interface import Interface, directlyProvidedBy
from zope.interface import directlyProvides, implements
from zope.app.component.globalinterfaceservice import provideInterface
-from zope.component.adapter import provideAdapter
+from zope.app.tests import ztapi
from zope.app.interfaces.introspector import IIntrospector
from zope.app.introspector import Introspector
@@ -49,7 +49,7 @@
provideInterface(id, I1)
provideInterface(id2, I2)
- provideAdapter(None, IIntrospector, Introspector)
+ ztapi.provideAdapter(None, IIntrospector, Introspector)
def test_getInterfaceURL(self):
More information about the Zope3-Checkins
mailing list