~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:26:37 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-20100209172637-oayqkh821hh12m9c
Move LogDecoratorServer to bzrlib.tests.test_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        return FakeVFATTransportDecorator
165
165
 
166
166
 
 
167
class LogDecoratorServer(DecoratorServer):
 
168
    """Server for testing."""
 
169
 
 
170
    def get_decorator_class(self):
 
171
        from bzrlib.transport import log
 
172
        return log.TransportLogDecorator
 
173
 
 
174
 
167
175
class ReadonlyServer(DecoratorServer):
168
176
    """Server for the ReadonlyTransportDecorator for testing with."""
169
177