270
267
self.assertThat(['ghost', 'the_ghost'], MatchesAncestry(repo, 'ghost'))
272
269
def test_reweave_inventory_fixes_ancestryfor_a_present_ghost(self):
274
271
repo = d.open_repository()
275
272
m = MatchesAncestry(repo, 'ghost')
276
273
if m.match(['the_ghost', 'ghost']) is None: