-
Committer:
Vincent Ladeuil
-
Date:
2010-06-11 10:59:23 UTC
-
mto:
(5247.1.7 first-try)
-
mto:
This revision was merged to the branch mainline in
revision
5326.
-
Revision ID:
v.ladeuil+lp@free.fr-20100611105923-c3uz1j77sh4bnkhh
The default http protocol version wasn't properly defined and as such not respected by some parametrized tests.
* bzrlib/tests/test_http.py:
(load_tests): Some tests need to be parametrized by the protocol
version only.
(TestAuthOnRedirected): These test are for urllib only but should
be parametrized by the http protocol version.
* bzrlib/tests/test_bzrdir.py:
(TestHTTPRedirections): Mention that we rely on the default http
protocol version.
* bzrlib/tests/http_utils.py:
(TestCaseWithWebserver): Set a default protocol version that can
be overriden by daughter classes.
(TestCaseWithWebserver.create_transport_readonly_server)
(TestCaseWithTwoWebservers.create_transport_secondary_server)
(TestCaseWithRedirectedWebserver.create_transport_secondary_server):
Ouch, the http protocol version is lost if we don't propagate it.