~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3945.1.7.

  • Committer: Vincent Ladeuil
  • Date: 2009-01-29 19:31:01 UTC
  • mto: (3982.1.1 bzr.integration)
  • mto: This revision was merged to the branch mainline in revision 3983.
  • Revision ID: v.ladeuil+lp@free.fr-20090129193101-w0008aa1ufoe7cmd
Test against https.

* bzrlib/tests/test_http.py:
(load_tests): Get rid of TestAdapter daughter classes, they are
useless. Add parametrization against http/https for activity
tests.
(ActivityServerMixin, ActivityHTTPServer, ActivityHTTPSServer):
Make HTTP[S] servers.
(PreRecordedRequestHandler.handle_one_request): Be defensive
against threads being non-deterministic.
(TestActivity.test_http_get): Use parametrized test server.

* bzrlib/tests/https_server.py:
(HTTPSServer.__init__): Add protocol_version parameter for tests
purposes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: