~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:22:25 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-20100209172225-21qcajx30gtbd5kx
Move FakeVFATServer to bzrlib.tests.test_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
        return fakenfs.FakeNFSTransportDecorator
154
154
 
155
155
 
 
156
class FakeVFATServer(DecoratorServer):
 
157
    """A server that suggests connections through FakeVFATTransportDecorator
 
158
 
 
159
    For use in testing.
 
160
    """
 
161
 
 
162
    def get_decorator_class(self):
 
163
        from bzrlib.transport import fakevfat
 
164
        return FakeVFATTransportDecorator
 
165
 
 
166
 
156
167
class ReadonlyServer(DecoratorServer):
157
168
    """Server for the ReadonlyTransportDecorator for testing with."""
158
169