[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/tests - testZopePublication.py:1.15
Itamar Shtull-Trauring
zope@itamarst.org
Fri, 6 Dec 2002 08:12:12 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/tests
In directory cvs.zope.org:/tmp/cvs-serv5098/App/ZopePublication/tests
Modified Files:
testZopePublication.py
Log Message:
update IAuthenticateService for requirements of generic implementation
=== Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py 1.14 => 1.15 ===
--- Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py:1.14 Fri Oct 4 14:37:25 2002
+++ Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py Fri Dec 6 08:12:10 2002
@@ -103,7 +103,7 @@
return None
def unauthenticatedPrincipal(self):
- return 'test.anonymous'
+ return UnauthenticatedPrincipal('test.anonymous')
def unauthorized(self, id, request):
pass
@@ -115,7 +115,7 @@
class AuthService2(AuthService1):
def authenticate(self, request):
- return 'test.bob'
+ return Principal('test.bob')
def getPrincipal(self, id):
return Principal(id)