~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to BRANCH.TODO

  • 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
4
4
#
5
5
 
 
6
* in test_http.py, add tests for :
 
7
- wrong password supplied
 
8
- no double prompting