~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-11 10:01:21 UTC
  • mfrom: (5029.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100211100121-dqc7ja698m73k3tu
(vila) Move tests servers from bzrlib.transport to
        bzrlib.tests.test_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    pathfilter,
37
37
    readonly,
38
38
    )
39
 
from bzrlib.tests import features
 
39
from bzrlib.tests import (
 
40
    features,
 
41
    test_server,
 
42
    )
40
43
 
41
44
 
42
45
# TODO: Should possibly split transport-specific tests into their own files.
593
596
 
594
597
    def test_fakenfs_server_default(self):
595
598
        # a FakeNFSServer() should bring up a local relpath server for itself
596
 
        server = fakenfs.FakeNFSServer()
 
599
        server = test_server.FakeNFSServer()
597
600
        self.start_server(server)
598
601
        # the url should be decorated appropriately
599
602
        self.assertStartsWith(server.get_url(), 'fakenfs+')