~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:15:17 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-20100209171517-1wzz1nh3d3nhnkbu
Move ReadonlyServer to bzrlib.tests.readonly

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
        return self.get_url_prefix() + self._server.get_url()
138
138
 
139
139
 
 
140
class ReadonlyServer(DecoratorServer):
 
141
    """Server for the ReadonlyTransportDecorator for testing with."""
 
142
 
 
143
    def get_decorator_class(self):
 
144
        from bzrlib.transport import readonly
 
145
        return readonly.ReadonlyTransportDecorator
 
146
 
 
147