From d722e0b76c06035e7ba9d79f7e4ac3afc802d23b Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Thu, 12 Nov 2026 14:18:05 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=BD=D1=82=D0=B5=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8F:=20=D1=83=20=D0=9D=D0=9F=D0=97=20=D0=BD?= =?UTF-8?q?=D0=B5=D1=82=20=D0=BB=D0=BE=D0=B6=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=C2=AB2400=20=3D=202300=20=E2=88=92=202410=20+=202420=C2=BB=20(?= =?UTF-8?q?#87)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit С 0.1.4 соотношения 2400 — группа альтернатив (AURORA-1864): тест сквозного разбора форм проверял, что расхождение есть, теперь — что его нет (как в golden НПЗ, fixtures #36). Co-Authored-By: Claude Opus 5.5 --- api/tests/integration/test_roundtrip.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)