~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 4285.2.1 16 years ago Vincent Ladeuil Cleanup test imports and use features to better tr 5.2 KB Diff Download File
test_add.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 6.6 KB Diff Download File
test_add_reference.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.4 KB Diff Download File
test_basis_inventory.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3.3 KB Diff Download File
test_basis_tree.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.9 KB Diff Download File
test_break_lock.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3.1 KB Diff Download File
test_changes_from.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.1 KB Diff Download File
test_commit.py 4183.5.7 16 years ago Robert Collins Resolve NEWS conflicts. 24.4 KB Diff Download File
test_content_filters.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.1 KB Diff Download File
test_eol_conversion.py 4232.1.1 16 years ago Ian Clatworthy Integrated EOL conversion support (Ian Clatworthy) 7.6 KB Diff Download File
test_executable.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7.3 KB Diff Download File
test_flush.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.6 KB Diff Download File
test_get_file_mtime.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3.3 KB Diff Download File
test_get_file_with_stat.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.9 KB Diff Download File
test_get_parent_ids.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.5 KB Diff Download File
test_inv.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 6.2 KB Diff Download File
test_is_control_filename.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.7 KB Diff Download File
test_is_ignored.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 8.4 KB Diff Download File
test_locking.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 11.5 KB Diff Download File
test_merge_from_branch.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.8 KB Diff Download File
test_mkdir.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.4 KB Diff Download File
test_move.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 23.5 KB Diff Download File
test_nested_specifics.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.7 KB Diff Download File
test_parents.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 32.6 KB Diff Download File
test_paths2ids.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7.7 KB Diff Download File
test_pull.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.2 KB Diff Download File
test_put_file.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.5 KB Diff Download File
test_read_working_inventory.py 4031.3.2 16 years ago Matt Nordhoff Merge bzr.dev, fixing conflicts. 1.8 KB Diff Download File
test_readonly.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.3 KB Diff Download File
test_remove.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 13 KB Diff Download File
test_rename_one.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 13.2 KB Diff Download File
test_revision_tree.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3.8 KB Diff Download File
test_set_root_id.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.9 KB Diff Download File
test_smart_add.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 10.6 KB Diff Download File
test_uncommit.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.2 KB Diff Download File
test_unversion.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7.5 KB Diff Download File
test_views.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7.5 KB Diff Download File
test_walkdirs.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 9.6 KB Diff Download File
test_workingtree.py 3193.8.31 16 years ago Aaron Bentley Merge and resolve NEWS conflicts 39 KB Diff Download File