~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_server.py

  • Committer: Vincent Ladeuil
  • Date: 2010-02-09 17:18:01 UTC
  • mto: (5029.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5030.
  • Revision ID: v.ladeuil+lp@free.fr-20100209171801-itzyi0ah1ywri49v
Fix some fallouts of moving test servers around.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        raise NotImplementedError
54
54
 
55
55
 
56
 
class LocalURLServer(Server):
 
56
class LocalURLServer(TestServer):
57
57
    """A pretend server for local transports, using file:// urls.
58
58
 
59
59
    Of course no actual server is required to access the local filesystem, so
68
68
        return urlutils.local_path_to_url('')
69
69
 
70
70
 
71
 
class MemoryServer(Server):
 
71
class MemoryServer(TestServer):
72
72
    """Server for the MemoryTransport for testing with."""
73
73
 
74
74
    def start_server(self):
95
95
        return self._scheme
96
96
 
97
97
 
98
 
class DecoratorServer(Server):
 
98
class DecoratorServer(TestServer):
99
99
    """Server for the TransportDecorator for testing with.
100
100
 
101
101
    To use this when subclassing TransportDecorator, override override the