~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-10-21 07:51:44 UTC
  • mfrom: (5504.4.2 655557-cleanup-http-pipe)
  • Revision ID: pqm@pqm.ubuntu.com-20101021075144-cnmt4hltdrl5yka0
(vila) Fix spurious test failures related to the http pipe cleanup. (Vincent
 Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
961
961
                return
962
962
            self.send_range_content(file, start, end - start + 1)
963
963
            cur += 1
964
 
        # No final boundary
 
964
        # Final boundary
965
965
        self.wfile.write(boundary_line)
966
966
 
967
967
 
996
996
        # that mode
997
997
        self.assertEqual('single', t._range_hint)
998
998
 
 
999
 
999
1000
class LimitedRangeRequestHandler(http_server.TestingHTTPRequestHandler):
1000
1001
    """Errors out when range specifiers exceed the limit"""
1001
1002