~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2007-04-21 09:26:30 UTC
  • mto: (2420.1.21 bzr.http.auth)
  • Revision ID: v.ladeuil+lp@free.fr-20070421092630-ty7a90wrx4v2x5k8
Refactor proxy and auth test classes. Tests failing for digest auth.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractAuthHandler.auth_required,
AbstractAuthHandler.auth_successful): Add response parameter as an
authentication scheme may need additional info provided only
there.

* bzrlib/tests/test_http.py:
(TestAuth, TestHTTPAuth, TestProxyAuth, TestHTTPBasicAuth,
TestHTTPProxyBasicAuth): Refactoring.
(TestHTTPDigestAuth, TestHTTPProxyDigestAuth): New classes for
digest authentication tests.

* bzrlib/tests/HttpServer.py:
(TestingHTTPRequestHandler.translate_path): Handles request
proxying based on a server attribute.
(HttpServer): Add proxy_requests attribute.

* bzrlib/tests/HTTPTestUtil.py:
(ProxyServer): Replaces FakeProxyRequestHandler now that
HttpServer handles proxying based on a server attribute.
(AuthRequestHandler, BasicAuthRequestHandler, AuthServer,
HTTPAuthServer, ProxyAuthServer, HTTPBasicAuthServer,
ProxyBasicAuthServer): Refactoring Auth servers and request
handlers.
(HTTPDigestAuthServer, ProxyDigestAuthServer): New classes for
digest authentication.
Filename Latest Rev Last Changed Committer Comment Size
..
bash 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
emacs 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
zsh 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
add-bzr-to-baz 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 223 bytes Diff Download File
create_bzr_rollup.py 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 5.5 KB Diff Download File
fortune 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 306 bytes Diff Download File
newinventory.py 1963.2.6 18 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 4.3 KB Diff Download File
pwclient.full 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 13 KB Diff Download File
pwk 1583.1.2 18 years ago Michael Ellerman Update contrib/pwk for -p1 diffs from bzr 897 bytes Diff Download File
upload-bzr.dev 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 829 bytes Diff Download File