[Zope-CVS] CVS: Products/PluggableAuthService/plugins/tests -
test_HTTPBasicAuthHelper.py:1.10
Lennart Regebro
regebro at nuxeo.com
Wed Sep 22 06:51:48 EDT 2004
Update of /cvs-repository/Products/PluggableAuthService/plugins/tests
In directory cvs.zope.org:/tmp/cvs-serv5767/tests
Modified Files:
test_HTTPBasicAuthHelper.py
Log Message:
The remote_host and remote_adress support was not reflected in the tests.
=== Products/PluggableAuthService/plugins/tests/test_HTTPBasicAuthHelper.py 1.9 => 1.10 ===
--- Products/PluggableAuthService/plugins/tests/test_HTTPBasicAuthHelper.py:1.9 Wed Sep 22 06:50:04 2004
+++ Products/PluggableAuthService/plugins/tests/test_HTTPBasicAuthHelper.py Wed Sep 22 06:51:48 2004
@@ -77,7 +77,8 @@
request = FauxHTTPRequest( 'foo', 'bar' )
self.assertEqual( helper.extractCredentials( request )
- , { 'login' : 'foo', 'password' : 'bar' } )
+ , { 'login' : 'foo', 'password' : 'bar',
+ 'remote_host': '', 'remote_address': '' } )
def test_challenge( self ):
from zExceptions import Unauthorized
More information about the Zope-CVS
mailing list