~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2009-07-07 08:24:57 UTC
  • mto: (4516.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4519.
  • Revision ID: v.ladeuil+lp@free.fr-20090707082457-otq7zht7lgkpnpbr
Fix bug #383920 by inserting the missing Content-Length header.

* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_get_unknown_file,
TransportTests.test_get_bytes_unknown_file): Localize bug #383920.

* bzrlib/tests/test_read_bundle.py:
(TestReadBundleFromURL.setUp,
TestReadBundleFromURL.read_mergeable_from_url): Fix regression
caused by pqm not running pycurl + python2.6, which means that the
https test server is not tested there and couldn't catch it. Clean
up the tests too.

* bzrlib/tests/http_server.py:
(TestingHTTPRequestHandler.send_error): Send the Content-Length
header or pycurl can't handle the 404...

Show diffs side-by-side

added added

removed removed

Lines of Context: