test(backend): add Linear MCP E2E fakes

This commit is contained in:
Anish Sarkar 2026-05-07 23:15:20 +05:30
parent 29692eb842
commit 2cbedf2eb4
3 changed files with 309 additions and 0 deletions

View file

@ -90,6 +90,7 @@ from unittest.mock import patch # noqa: E402
from app.app import app # noqa: E402
from tests.e2e.fakes import ( # noqa: E402
embeddings as _fake_embeddings,
linear_module as _fake_linear_module,
native_google as _fake_native_google,
notion_module as _fake_notion_module,
)
@ -162,6 +163,7 @@ _patch_llm_bindings()
_fake_embeddings.install(_active_patches)
_fake_native_google.install(_active_patches)
_fake_notion_module.install(_active_patches)
_fake_linear_module.install(_active_patches)
# ---------------------------------------------------------------------------