[Zope3-checkins] CVS: Zope3/src/zope/app/security/tests - test_zopepolicy.py:1.4.2.1
Guido van Rossum
guido@python.org
Wed, 26 Feb 2003 16:44:11 -0500
Update of /cvs-repository/Zope3/src/zope/app/security/tests
In directory cvs.zope.org:/tmp/cvs-serv1550/src/zope/app/security/tests
Modified Files:
Tag: use-config-branch
test_zopepolicy.py
Log Message:
Fix a few failing tests, for Tim.
=== Zope3/src/zope/app/security/tests/test_zopepolicy.py 1.4 => 1.4.2.1 ===
--- Zope3/src/zope/app/security/tests/test_zopepolicy.py:1.4 Tue Feb 11 21:17:33 2003
+++ Zope3/src/zope/app/security/tests/test_zopepolicy.py Wed Feb 26 16:43:41 2003
@@ -52,6 +52,7 @@
from zope.app.services.tests.placefulsetup\
import PlacefulSetup
from zope.app.security.zopepolicy import permissionsOfPrincipal
+from zope.app.interfaces.services.interfaces import ISimpleService
class Context:
def __init__(self, user, stack=[]):
@@ -65,7 +66,7 @@
class AuthService:
"""we only implement what we need for testing here"""
- __implements__ = IAuthenticationService
+ __implements__ = IAuthenticationService, ISimpleService
def __init__(self):
self.data = {'jim': Principal('jim','Jim','Jim Fulton')}
def getPrincipal(self, id):