~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:27:46 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-20100209172746-6f4mvlnr2mac807j
Move NoSmartTransportServer to bzrlib.tests.test_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        return log.TransportLogDecorator
173
173
 
174
174
 
 
175
class NoSmartTransportServer(DecoratorServer):
 
176
    """Server for the NoSmartTransportDecorator for testing with."""
 
177
 
 
178
    def get_decorator_class(self):
 
179
        from bzrlib.transport import nosmart
 
180
        return NoSmartTransportDecorator
 
181
 
 
182
 
175
183
class ReadonlyServer(DecoratorServer):
176
184
    """Server for the ReadonlyTransportDecorator for testing with."""
177
185