From 80d2649ed8ffb95d3b8a2f6b4119e04f08ed12c9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 5 Nov 2025 15:00:39 +0000 Subject: [PATCH 1/2] Initial plan From 603e9ea3800f518ef227774cecb71da300e45c6a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 5 Nov 2025 15:13:00 +0000 Subject: [PATCH 2/2] fix: correct mock_code_ingestor fixture to return Mock instead of function Co-authored-by: royisme <350731+royisme@users.noreply.github.com> --- tests/conftest.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 05dc212..110c231 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -182,12 +182,7 @@ def mock_graph_service(): @pytest.fixture def mock_code_ingestor(): """Mock code ingestor factory""" - def _factory(): - ingestor = AsyncMock() - ingestor.ingest_repo = AsyncMock() - ingestor.ingest_repo_incremental = AsyncMock() - return ingestor - return _factory + return Mock() @pytest.fixture