[Zope3-checkins] CVS: Zope3/src/zope/app/security/registries/tests - test_principalregistry.py:1.3.4.1
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:41:59 -0500
Update of /cvs-repository/Zope3/src/zope/app/security/registries/tests
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/security/registries/tests
Modified Files:
Tag: paris-copypasterename-branch
test_principalregistry.py
Log Message:
Updating from HEAD to make sure everything still works before merging
=== Zope3/src/zope/app/security/registries/tests/test_principalregistry.py 1.3 => 1.3.4.1 ===
--- Zope3/src/zope/app/security/registries/tests/test_principalregistry.py:1.3 Fri Dec 27 20:38:25 2002
+++ Zope3/src/zope/app/security/registries/tests/test_principalregistry.py Tue Feb 11 09:41:28 2003
@@ -20,6 +20,7 @@
from zope.publisher.interfaces.http import IHTTPCredentials
from zope.app.services.tests.placefulsetup \
import PlacefulSetup
+from zope.component.servicenames import Adapters
class Request:
@@ -44,7 +45,7 @@
from zope.component import getService
from zope.app.security.basicauthadapter import BasicAuthAdapter
from zope.app.interfaces.security import ILoginPassword
- getService(None,"Adapters").provideAdapter(
+ getService(None,Adapters).provideAdapter(
IHTTPCredentials, ILoginPassword, BasicAuthAdapter)
self.reg = PrincipalRegistry()