~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2420.1.4.

  • Committer: Vincent Ladeuil
  • Date: 2007-04-18 08:08:16 UTC
  • mto: (2420.1.21 bzr.http.auth)
  • mto: This revision was merged to the branch mainline in revision 2463.
  • Revision ID: v.ladeuil+lp@free.fr-20070418080816-ovy46d2gv7mzlr86
Add test checking the number of roundtrips due to 401 or 407 errors.

* bzrlib/tests/test_http.py:
(TestHTTPAuth.test_empty_pass): Verifying the number of
authentication errors allows to count the 40[17] roundtrips.

* bzrlib/tests/HTTPTestUtil.py:
(AbstractBasicAuthRequestHandler.do_GET): Count the authentication
errors.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: