Пример #1
0
 def test_deep_indirect_inner_loop(self):
     self.assertEqual(
         _build_error_chain(
             "group2",
             "group3",
             ["group1", "group2"],
         ),
         ["group2", "group3", "group2"],
     )
Пример #2
0
 def test_simple_indirect_loop(self):
     self.assertEqual(
         _build_error_chain(
             "group1",
             "group2",
             ["group1"],
         ),
         ["group1", "group2", "group1"],
     )