~bzr-pqm/bzr/bzr.dev

  • Committer: v.ladeuil+lp at free
  • Date: 2006-12-11 13:24:55 UTC
  • mto: (2182.1.1 Aaron's integration)
  • Revision ID: v.ladeuil+lp@free.fr-20061211132455-e8k81db8ktfwvrlz
Tests for proxies, covering  #74759.

* bzrlib/transport/http/_urllib2_wrappers.py:
(ProxyHandler.proxy_bypass): Matches against the modified regexp,
not the original domain.

* bzrlib/tests/test_http.py:
(TestProxyHttpServer, TestProxyHttpServer_urllib,
TestProxyHttpServer_pycurl): New classes for proxy tests.

* bzrlib/tests/HttpServer.py:
(HttpServer._http_start): Give access to the port used by the
server socket.
(HttpServer.setUp, HttpServer.tearDown): Handles the 'no_proxy'
env var too.

* bzrlib/tests/HTTPTestUtil.py:
(TestCaseWithTwoWebservers): New class for tests needing two
related web servers.
(FakeProxyRequestHandler): New class to fake a proxy http server.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2052.3.10 18 years ago John Arbash Meinel [merge] bzr.dev 2079 3.7 KB Diff Download File
test_basis_inventory.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 4.2 KB Diff Download File
test_break_lock.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 2.8 KB Diff Download File
test_changes_from.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 2.2 KB Diff Download File
test_commit.py 1908.7.11 18 years ago Robert Collins Merge bzr.dev and undeprecated WorkingTree.last_re 9.8 KB Diff Download File
test_executable.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 6.4 KB Diff Download File
test_flush.py 2052.3.10 18 years ago John Arbash Meinel [merge] bzr.dev 2079 2.6 KB Diff Download File
test_get_parent_ids.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 2.4 KB Diff Download File
test_is_control_filename.py 1773.4.1 18 years ago Martin Pool Add pyflakes makefile target; fix many warnings 1.7 KB Diff Download File
test_is_ignored.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 7.8 KB Diff Download File
test_locking.py 1986.5.7 18 years ago Robert Collins Merge reviews. 11.8 KB Diff Download File
test_merge_from_branch.py 1979.2.1 18 years ago Robert Collins (robertc) adds a convenience method "merge_from_br 2.2 KB Diff Download File
test_mkdir.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 1.3 KB Diff Download File
test_parents.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 9.3 KB Diff Download File
test_pull.py 1908.7.6 18 years ago Robert Collins Deprecate WorkingTree.last_revision. 2.2 KB Diff Download File
test_put_file.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 1.5 KB Diff Download File
test_read_working_inventory.py 2052.3.10 18 years ago John Arbash Meinel [merge] bzr.dev 2079 1.6 KB Diff Download File
test_set_root_id.py 2052.3.10 18 years ago John Arbash Meinel [merge] bzr.dev 2079 2.4 KB Diff Download File
test_unversion.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 3.1 KB Diff Download File
test_workingtree.py 1731.1.48 18 years ago Aaron Bentley Merge from bzr.dev 28.6 KB Diff Download File