119
118
other = other_bzrdir.open_workingtree()
120
119
# move the branch out of the way on disk to cause a connection
123
122
# try to push, which should raise a BoundBranchConnectionFailure.
124
123
self.assertRaises(errors.BoundBranchConnectionFailure,
125
124
other.branch.push, checkout.branch)