~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2294.3.1.

  • Committer: Vincent Ladeuil
  • Date: 2007-02-17 20:31:03 UTC
  • mto: This revision was merged to the branch mainline in revision 2307.
  • Revision ID: v.ladeuil+lp@free.fr-20070217203103-5uepd1ux5jqvufaa
Fix #85305 by issuing an exception instead of a traceback.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport.__init__): Check https support.

* bzrlib/tests/test_http.py:
(TestWithTransport_pycurl): Moved higher for reuse.
(TestHttpTransportUrls): Separated from TestHttpUrls to be applied
to both implementations (pycurl and urllib).
(TestHttpUrls_urllib, TestHttpUrls_pycurl): 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: