/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/HTTPTestUtil.py

Merge bzr.urllib.keepalive

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
class TestCaseWithWebserver(TestCaseWithTransport):
24
24
    """A support class that provides readonly urls that are http://.
25
25
 
26
 
    This is done by forcing the readonly server to be an http one. This 
27
 
    will current fail if the primary transport is not backed by regular disk
28
 
    files.
 
26
    This is done by forcing the readonly server to be an http
 
27
    one. This will currently fail if the primary transport is not
 
28
    backed by regular disk files.
29
29
    """
30
 
 
31
30
    def setUp(self):
32
31
        super(TestCaseWithWebserver, self).setUp()
33
32
        self.transport_readonly_server = bzrlib.transport.http.HttpServer
34
 
 
35
 
 
36
 
class TestCaseWithWallserver(TestCaseWithTransport):
37
 
    """A support class that provides a http server closing connections early"""
38
 
    def setUp(self):
39
 
        super(TestCaseWithWallserver, self).setUp()
40
 
        self.transport_readonly_server = bzrlib.transport.http.WallHttpServer