~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2009-05-04 14:48:21 UTC
  • mto: (4349.1.1 integration)
  • Revision ID: v.ladeuil+lp@free.fr-20090504144821-39dvqkikmd3zqkdg
Handle servers proposing several authentication schemes.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractAuthHandler.auth_required): Several schemes can be
proposed by the server, try to match each one in turn.
(BasicAuthHandler.auth_match): Delete dead code.

* bzrlib/tests/test_http.py:
(load_tests): Separate proxy and http authentication tests as they
require different server setups.
(TestAuth.create_transport_readonly_server): Simplified by using
parameter provided by load_tests.
(TestAuth.test_changing_nonce): Adapt to new parametrization.
(TestProxyAuth.create_transport_readonly_server): Deleted.

* bzrlib/tests/http_utils.py:
(DigestAndBasicAuthRequestHandler, HTTPBasicAndDigestAuthServer,
ProxyBasicAndDigestAuthServer): Add a test server proposing both
basic and digest auth schemes but accepting only digest as valid.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7.7 KB Diff Download File
test_bound_sftp.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 12.8 KB Diff Download File
test_branch.py 4273.1.14 16 years ago Aaron Bentley Restore disabled test 40.1 KB Diff Download File
test_break_lock.py 4031.3.2 16 years ago Matt Nordhoff Merge bzr.dev, fixing conflicts. 3.9 KB Diff Download File
test_check.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.8 KB Diff Download File
test_commit.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 8.8 KB Diff Download File
test_create_checkout.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.6 KB Diff Download File
test_create_clone.py 4294.2.9 16 years ago Robert Collins Fixup tests broken by cleaning up the layering. 6.3 KB Diff Download File
test_dotted_revno_to_revision_id.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.9 KB Diff Download File
test_get_revision_id_to_revno_map.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.6 KB Diff Download File
test_hooks.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 16.8 KB Diff Download File
test_http.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3.5 KB Diff Download File
test_iter_merge_sorted_revisions.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 6.9 KB Diff Download File
test_last_revision_info.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.3 KB Diff Download File
test_locking.py 4288.1.11 16 years ago Robert Collins Hopefully fix locking tests to match the new code 21 KB Diff Download File
test_parent.py 4288.1.9 16 years ago Robert Collins Fix up test usable of _set_parent_location on unlo 3.6 KB Diff Download File
test_permissions.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 5.7 KB Diff Download File
test_pull.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 9.2 KB Diff Download File
test_push.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 19 KB Diff Download File
test_reconcile.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3 KB Diff Download File
test_revision_history.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 8.5 KB Diff Download File
test_revision_id_to_dotted_revno.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.5 KB Diff Download File
test_revision_id_to_revno.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.6 KB Diff Download File
test_sprout.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 8.1 KB Diff Download File
test_stacking.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 20.4 KB Diff Download File
test_tags.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 6.6 KB Diff Download File
test_uncommit.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3.9 KB Diff Download File
test_update.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.7 KB Diff Download File