~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interbranch/test_pull.py

(jelmer) Various improvements to allow running bzr interface tests against
 foreign branch plugins. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        other = self.sprout_to(master_tree.branch.bzrdir, 'other').open_branch()
80
80
        # move the branch out of the way on disk to cause a connection
81
81
        # error.
82
 
        os.rename('master', 'master_gone')
 
82
        master_tree.branch.bzrdir.destroy_branch()
83
83
        # try to pull, which should raise a BoundBranchConnectionFailure.
84
84
        self.assertRaises(errors.BoundBranchConnectionFailure,
85
85
                checkout.branch.pull, other)