-
Committer:
Vincent Ladeuil
-
Date:
2007-04-12 13:09:53 UTC
-
mto:
(2420.1.1 bzr.http.auth)
-
mto:
This revision was merged to the branch mainline in
revision
2463.
-
Revision ID:
v.ladeuil+lp@free.fr-20070412130953-pwgok8w72gxazlel
Add white box tests for basic HTTP auth.
* bzrlib/transport/http/_urllib2_wrappers.py:
(HTTPBasicAuthHandler.get_auth, HTTPBasicAuthHandler.set_auth):
New methods.
* bzrlib/tests/test_http.py:
(TestHttpProxyWhiteBox._proxied_request): Get rid of local imports.
(TestHTTPBasicAuth): New class. Tests basic HTTP auth.