[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests -
test_auth.py:1.20.6.1 test_roleservice.py:NONE
Chris McDonough
chrism at plope.com
Tue Jan 13 20:32:07 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv14028/src/zope/app/services/tests
Modified Files:
Tag: steveachrismcd-securitypolicy-branch
test_auth.py
Removed Files:
Tag: steveachrismcd-securitypolicy-branch
test_roleservice.py
Log Message:
Move more role stuff out of Zope proper and into the securitypolicy product.
=== Zope3/src/zope/app/services/tests/test_auth.py 1.20 => 1.20.6.1 ===
--- Zope3/src/zope/app/services/tests/test_auth.py:1.20 Fri Nov 21 12:12:13 2003
+++ Zope3/src/zope/app/services/tests/test_auth.py Tue Jan 13 20:31:36 2004
@@ -86,18 +86,6 @@
self.assertEqual(auth['srichter'],
auth.getPrincipalByLogin('srichter'))
- def testAuthenticate(self):
- auth = self._auth
- req = Request(('srichter', 'hello'))
- pid = auth.authenticate(req).getId()
- self.assertEquals(pid, 'srichter')
- req = Request(('srichter', 'hello2'))
- p = auth.authenticate(req)
- self.assertEquals(p, None)
- req = Request(('doesnotexit', 'hello'))
- principal = auth.authenticate(req)
- self.assertEquals(principal, None)
-
def testUnauthenticatedPrincipal(self):
auth = self._auth
self.assertEqual(None, auth.unauthenticatedPrincipal())
=== Removed File Zope3/src/zope/app/services/tests/test_roleservice.py ===
More information about the Zope3-Checkins
mailing list