[Zope3-checkins] CVS: Zope3/src/zope/app/security/registries/tests - test_principalregistry.py:1.4
R. Sean Bowman
sean.bowman@acm.org
Thu, 6 Feb 2003 01:50:25 -0500
Update of /cvs-repository/Zope3/src/zope/app/security/registries/tests
In directory cvs.zope.org:/tmp/cvs-serv18167/zope/app/security/registries/tests
Modified Files:
test_principalregistry.py
Log Message:
finished changing service names to use strings defined in
zope/component/servicenames.py, changed the name of
ErrorReportingService to ErrorReports and Resources to ResourceService
=== Zope3/src/zope/app/security/registries/tests/test_principalregistry.py 1.3 => 1.4 ===
--- 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 Thu Feb 6 01:49:52 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()