diff --git a/api/tests/integration/test_roundtrip.py b/api/tests/integration/test_roundtrip.py index 8b170f5..b0cf924 100644 --- a/api/tests/integration/test_roundtrip.py +++ b/api/tests/integration/test_roundtrip.py @@ -362,10 +362,10 @@ async def test_real_statements_through_worker_give_done_with_two_documents( "1500 = 1510 + 1520 + 1530 + 1540 + 1550", "1410 = 14101 + 14102 + 14103 + 14104 + 14105", } - assert {item["relation"] for item in income["checks"]["soft_relations_failed"]} >= { - "2400 = 2300 - 2410 + 2420", - "2410 = 2411 + 2412", - } + income_soft = {item["relation"] for item in income["checks"]["soft_relations_failed"]} + assert "2410 = 2411 + 2412" in income_soft + # 2400 — группа альтернатив (0.1.4, AURORA-1864): одна из них в НПЗ сходится, ложного расхождения нет + assert "2400 = 2300 - 2410 + 2420" not in income_soft # лист с единственной строкой 2400 присоединён (O-9) assert "2400" in {line["line_code"] for line in income["lines"]} await core.assert_quiet(request)