feat: Add method to get extractions by status and implement user info retrieval in extraction service
Some checks failed
Backend CI / lint (push) Failing after 4m53s
Backend CI / test (push) Failing after 4m31s

This commit is contained in:
JSC
2025-08-24 13:24:48 +02:00
parent 28faca55bc
commit 16eb789539
5 changed files with 177 additions and 10 deletions

View File

@@ -217,6 +217,10 @@ class TestExtractionService:
extraction_service.extraction_repo.get_by_service_and_id = AsyncMock(
return_value=None,
)
# Mock user repository
from app.models.user import User
mock_user = User(id=1, name="Test User")
extraction_service.user_repo.get_by_id = AsyncMock(return_value=mock_user)
# Mock service detection
service_info = {