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