665
665
def test_stacked_parents_provider(self):
666
666
parents1 = _mod_graph.DictParentsProvider({'rev2': ['rev3']})
667
667
parents2 = _mod_graph.DictParentsProvider({'rev1': ['rev4']})
669
669
self.assertEqual({'rev1':['rev4'], 'rev2':['rev3']},
670
670
stacked.get_parent_map(['rev1', 'rev2']))
671
671
self.assertEqual({'rev2':['rev3'], 'rev1':['rev4']},