258
271
def test_branch_to_lightweight_checkout_failure(self):
259
272
parent, child, reconfiguration = \
260
273
self.prepare_branch_to_lightweight_checkout()
264
277
self.assertRaises(TypeError, reconfiguration.apply)
267
280
child = _mod_branch.Branch.open('child')
268
281
self.assertContainsRe(child.base, 'child/$')