/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2010-02-11 09:27:55 UTC
  • mfrom: (5017.3.46 test-servers)
  • mto: This revision was merged to the branch mainline in revision 5030.
  • Revision ID: v.ladeuil+lp@free.fr-20100211092755-3vvu4vbwiwjjte3s
Move tests servers from bzrlib.transport to bzrlib.tests.test_server

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
 
29
from bzrlib.transport import memory
30
30
 
31
31
 
32
32
class BoundSFTPBranch(tests.TestCaseWithTransport):
33
33
 
34
34
    def setUp(self):
35
35
        tests.TestCaseWithTransport.setUp(self)
36
 
        self.vfs_transport_factory = MemoryServer
37
 
        if self.transport_server is LocalURLServer:
 
36
        self.vfs_transport_factory = memory.MemoryServer
 
37
        if self.transport_server is test_server.LocalURLServer:
38
38
            self.transport_server = None
39
39
 
40
40
    def create_branches(self):