refactor: services/ → compare/ + drhider/ (разделение Сверки и Хайдера)
Deploy contracts-flask / validate (push) Successful in 0s

This commit is contained in:
2026-06-30 10:08:25 +04:00
parent 5466b6df7f
commit ae64913c00
22 changed files with 40 additions and 20 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
"""Test classify_batch with MemRepository + FakeLLM."""
from services.classify import classify_batch
from services.llm_client import FakeLLMClient
from compare.classify import classify_batch
from compare.llm_client import FakeLLMClient
from repository import MemRepository
+2 -2
View File
@@ -1,8 +1,8 @@
"""Unit tests — no DB, no network, just pure logic."""
import pytest
from contracts import ParseResult, ClassifyResult, GroupingResult, CompareOp
from services.upload import parse_multipart
from services.classify import _is_garbage_by_filename, _is_garbage_by_header
from compare.upload import parse_multipart
from compare.classify import _is_garbage_by_filename, _is_garbage_by_header
class TestContracts:
+1 -1
View File
@@ -1,5 +1,5 @@
"""Unit tests for LLM client and Repository — with fakes."""
from services.llm_client import FakeLLMClient
from compare.llm_client import FakeLLMClient
from repository import MemRepository