/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/test_smart.py

  • Committer: Vincent Ladeuil
  • Date: 2010-02-09 21:05:52 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-20100209210552-x9xo02bw0g8lu0ck
selftest -s bt.test_remote passing

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006, 2007 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
51
51
from bzrlib.tests import test_server
52
52
from bzrlib.transport import (
53
53
    chroot,
54
 
    memory,
55
54
    )
56
55
 
57
56
 
80
79
class TestCaseWithChrootedTransport(tests.TestCaseWithTransport):
81
80
 
82
81
    def setUp(self):
83
 
        self.vfs_transport_factory = memory.MemoryServer
 
82
        self.vfs_transport_factory = test_server.MemoryServer
84
83
        tests.TestCaseWithTransport.setUp(self)
85
84
        self._chroot_server = None
86
85
 
214
213
        dir = self.make_bzrdir('.')
215
214
        local_result = dir.cloning_metadir()
216
215
        reference = _mod_branch.BranchReferenceFormat().initialize(
217
 
            dir, target_branch=referenced_branch)
 
216
            dir, referenced_branch)
218
217
        reference_url = _mod_branch.BranchReferenceFormat().get_reference(dir)
219
218
        # The server shouldn't try to follow the branch reference, so it's fine
220
219
        # if the referenced branch isn't reachable.