[Zope-CVS] CVS: Products/PluggableAuthService/plugins/tests -
test_HTTPBasicAuthHelper.py:1.7
Lennart Regebro
regebro at nuxeo.com
Wed Sep 22 06:44:47 EDT 2004
Update of /cvs-repository/Products/PluggableAuthService/plugins/tests
In directory cvs.zope.org:/tmp/cvs-serv3970/tests
Modified Files:
test_HTTPBasicAuthHelper.py
Log Message:
HTTPBasicAuthHelper does not implement IUpdateCredentials (and can't, since Basic HHTP auth doesn't support that), so testing it is doomed to fail...
=== Products/PluggableAuthService/plugins/tests/test_HTTPBasicAuthHelper.py 1.6 => 1.7 ===
--- Products/PluggableAuthService/plugins/tests/test_HTTPBasicAuthHelper.py:1.6 Wed Sep 22 06:43:16 2004
+++ Products/PluggableAuthService/plugins/tests/test_HTTPBasicAuthHelper.py Wed Sep 22 06:44:46 2004
@@ -87,16 +87,6 @@
self.failIf( response._unauthorized_called )
self.failUnlessRaises(Unauthorized, helper.challenge, (request, response ), {})
- def test_updateCredentials( self ):
-
- helper = self._makeOne()
- request = FauxHTTPRequest()
- response = FauxHTTPResponse()
-
- self.failIf( response._unauthorized_called )
- helper.updateCredentials( request, response, new_password='baz' )
- self.failIf( response._unauthorized_called )
-
def test_resetCredentials( self ):
helper = self._makeOne()
More information about the Zope-CVS
mailing list