~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_bound_sftp.py

  • Committer: Vincent Ladeuil
  • Date: 2010-02-09 21:17:27 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-20100209211727-594kfko33hoxiz3y
-s bt.per_branch.test_bound_sftp passing

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    errors,
26
26
    tests,
27
27
    )
28
 
from bzrlib.transport.local import LocalURLServer
29
 
from bzrlib.transport.memory import MemoryServer
 
28
from bzrlib.tests import test_server
30
29
 
31
30
 
32
31
class BoundSFTPBranch(tests.TestCaseWithTransport):
33
32
 
34
33
    def setUp(self):
35
34
        tests.TestCaseWithTransport.setUp(self)
36
 
        self.vfs_transport_factory = MemoryServer
37
 
        if self.transport_server is LocalURLServer:
 
35
        self.vfs_transport_factory = test_server.MemoryServer
 
36
        if self.transport_server is test_server.LocalURLServer:
38
37
            self.transport_server = None
39
38
 
40
39
    def create_branches(self):