~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3111.1.18.

  • Committer: Vincent Ladeuil
  • Date: 2007-12-21 11:41:15 UTC
  • mto: (3146.3.1 179368) (3156.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3158.
  • Revision ID: v.ladeuil+lp@free.fr-20071221114115-357b0nvt3uq5v55h
Test parametrization for protocol versions achieved. Tests are failing :)

* bzrlib/tests/test_http_implementations.py:
(TransportAdapter, TransportProtocolAdapter,
TransportProtocolAuthenticationAdapter): Adpaters for the
combinations we care about.
(load_tests): List the classes that needs to be adpated and apply
the associated parametrization.
(TestPost.test_post_body_is_received): Don't use
transport.get_transport since we already know the transport class
we want to test.
(TestSpecificRequestHandler.create_transport_readonly_server,
LimitedRangeHTTPServer.__init__,
TestLimitedRangeRequestServer.create_transport_readonly_server,
TestProxyHttpServer.create_transport_secondary_server,
TestHTTPRedirections.create_transport_secondary_server,
TestHTTPSilentRedirections.create_transport_secondary_server,
TestAuth.create_transport_readonly_server,
TestAuth.create_transport_readonly_server): Add protocol_version
parameter to constructors.

* bzrlib/tests/http_utils.py:
(HTTPServerRedirecting, AuthServer, DigestAuthServer,
HTTPBasicAuthServer, HTTPDigestAuthServer, ProxyBasicAuthServer,
ProxyDigestAuthServer): Add protocol_version parameter to
constructors.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: