~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2363.4.12.

  • Committer: Vincent Ladeuil
  • Date: 2007-04-15 15:57:08 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-20070415155708-frrm29cd9vvvd8do
Take jam's review comments into account. Fix typos, give better
explanations, add a test, complete another.

* bzrlib/transport/http/_urllib2_wrappers.py:
(HTTPBasicAuthHandler.http_error_401): Better explanation.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib.__init__): _auth renamed to _auth_scheme.

* bzrlib/tests/test_http.py:
(TestHTTPBasicAuth.test_unknown_user): New test.

* bzrlib/tests/HTTPTestUtil.py:
(BasicAuthHTTPServer): New class. Be explicit about use
requirements: basic authentication is mandatory.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: