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