~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_branch.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:
37
37
    per_branch,
38
38
    )
39
39
from bzrlib.tests.http_server import HttpServer
40
 
from bzrlib.transport.memory import MemoryServer
 
40
from bzrlib.transport import memory
41
41
 
42
42
 
43
43
class TestTestCaseWithBranch(per_branch.TestCaseWithBranch):
512
512
 
513
513
    def setUp(self):
514
514
        super(ChrootedTests, self).setUp()
515
 
        if not self.vfs_transport_factory == MemoryServer:
 
515
        if not self.vfs_transport_factory == memory.MemoryServer:
516
516
            self.transport_readonly_server = HttpServer
517
517
 
518
518
    def test_open_containing(self):