-
Committer:
Vincent Ladeuil
-
Date:
2007-11-22 10:35:56 UTC
-
mto:
(3928.1.1 bzr.integration)
-
mto:
This revision was merged to the branch mainline in
revision
3929.
-
Revision ID:
v.ladeuil+lp@free.fr-20071122103556-djp1gm22n2npztk0
Add a fake https server and test facilities.
* bzrlib/transport/http/_urllib2_wrappers.py:
(HTTPSConnection.connect_to_origin): Disable ssl wrapping temporarily.
* bzrlib/transport/http/_urllib.py:
(get_test_permutations): Add https tests if a server is available.
* bzrlib/tests/http_server.py:
(TestingHTTPServer): Fix typo.
(HttpServer.get_bogus_url): Use _url_protocol.
* bzrlib/tests/__init__.py:
(_HTTPSServerFeature): Define a feature since an https test server
will have dependencies.