~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_foreign.py

Merge bzr.dev into cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        super(DummyForeignVcsBranchFormat, self).__init__()
172
172
        self._matchingbzrdir = DummyForeignVcsDirFormat()
173
173
 
174
 
    def open(self, a_bzrdir, _found=False):
 
174
    def open(self, a_bzrdir, name=None, _found=False):
175
175
        if not _found:
176
176
            raise NotImplementedError
177
177
        try:
178
 
            transport = a_bzrdir.get_branch_transport(None)
 
178
            transport = a_bzrdir.get_branch_transport(None, name=name)
179
179
            control_files = lockable_files.LockableFiles(transport, 'lock',
180
180
                                                         lockdir.LockDir)
181
181
            return DummyForeignVcsBranch(_format=self,