mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-13 01:32:40 +02:00
test(backend): add Linear MCP E2E fakes
This commit is contained in:
parent
29692eb842
commit
2cbedf2eb4
3 changed files with 309 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue