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