76
76
def test_pull_raises_specific_error_on_master_connection_error(self):
77
77
master_tree = self.make_from_branch_and_tree('master')
78
78
checkout = master_tree.branch.create_checkout('checkout')
80
80
# move the branch out of the way on disk to cause a connection
82
82
os.rename('master', 'master_gone')
83
83
# try to pull, which should raise a BoundBranchConnectionFailure.
84
84
self.assertRaises(errors.BoundBranchConnectionFailure,
87
87
def test_pull_returns_result(self):
88
88
parent = self.make_from_branch_and_tree('parent')