/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2007-12-24 10:31:24 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-20071224103124-oojmi9jenve9irat
Make HTTP/1.1 the default implementation reveals one more bug.

* bzrlib/tests/http_server.py:
(TestingHTTPRequestHandler): Make 1.1 the default protocol
version.
(TestingHTTPRequestHandler.send_head): Fix python2.5
implementation bug (specify Content-Length).

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
    def test_benchmark_runs_benchmark_tests(self):
175
175
        """bzr selftest --benchmark should not run the default test suite."""
176
176
        # We test this by passing a regression test name to --benchmark, which
177
 
        # should result in 0 rests run.
 
177
        # should result in 0 tests run.
178
178
        old_root = TestCaseWithMemoryTransport.TEST_ROOT
179
179
        try:
180
180
            TestCaseWithMemoryTransport.TEST_ROOT = None