def test_deep_indirect_inner_loop(self): self.assertEqual( _build_error_chain( "group2", "group3", ["group1", "group2"], ), ["group2", "group3", "group2"], )
def test_simple_indirect_loop(self): self.assertEqual( _build_error_chain( "group1", "group2", ["group1"], ), ["group1", "group2", "group1"], )