-
Committer:
Vincent Ladeuil
-
Date:
2007-04-17 10:33:39 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-20070417103339-3kywr38d0p50czrw
Define tests for http proxy basic authentication. They fail.
*Â bzrlib/tests/test_http.py:
(TestHttpProxyWhiteBox._set_and_capture_env_var): Deleted. YAGNI.
(TestProxyHttpServer._set_and_capture_env_var): Deleted. YAGNI
(TestHTTPAuth): Made abstract so it can be reused for proxy.
(TestHTTPAuth.test_prompt_for_password): New class.
(TestHTTPAuth.test_prompt_for_password): New class. Failed tests so
far.
*Â bzrlib/tests/HTTPTestUtil.py:
(AbstractBasicAuthRequestHandler): Made abstract from
BasicAuthRequestHandler so it can be reused for proxy.
(ProxyBasicAuthRequestHandler): New class.
(ProxyBasicAuthHTTPServer): New class.