[Zope3-checkins] CVS: Zope3/src/zope/app/security/registries/tests
- test_principalregistry.py:1.8.30.1
Jim Fulton
cvs-admin at zope.org
Tue Nov 18 17:27:05 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/security/registries/tests
In directory cvs.zope.org:/tmp/cvs-serv19243/src/zope/app/security/registries/tests
Modified Files:
Tag: adaptergeddon-branch
test_principalregistry.py
Log Message:
Implemented local presentation services.
=== Zope3/src/zope/app/security/registries/tests/test_principalregistry.py 1.8 => 1.8.30.1 ===
--- Zope3/src/zope/app/security/registries/tests/test_principalregistry.py:1.8 Sat Jun 7 01:46:05 2003
+++ Zope3/src/zope/app/security/registries/tests/test_principalregistry.py Tue Nov 18 17:26:34 2003
@@ -21,6 +21,7 @@
from zope.app.services.tests.placefulsetup import PlacefulSetup
from zope.app.services.servicenames import Adapters
from zope.interface import implements
+from zope.app.tests import ztapi
class Request:
@@ -45,7 +46,7 @@
from zope.component import getService
from zope.app.security.basicauthadapter import BasicAuthAdapter
from zope.app.interfaces.security import ILoginPassword
- getService(None,Adapters).provideAdapter(
+ ztapi.provideAdapter(
IHTTPCredentials, ILoginPassword, BasicAuthAdapter)
self.reg = PrincipalRegistry()
More information about the Zope3-Checkins
mailing list