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