test(backend): add native Google Drive E2E fakes

This commit is contained in:
Anish Sarkar 2026-05-07 03:59:40 +05:30
parent 0a62dc189c
commit 3f2912a4ca
3 changed files with 286 additions and 2 deletions

View file

@ -79,7 +79,10 @@ logger.warning(
from unittest.mock import patch # noqa: E402
from app.app import app # noqa: E402
from tests.e2e.fakes import embeddings as _fake_embeddings # noqa: E402
from tests.e2e.fakes import ( # noqa: E402
embeddings as _fake_embeddings,
native_google_drive as _fake_native_google_drive,
)
from tests.e2e.fakes.chat_llm import ( # noqa: E402
fake_create_chat_litellm_from_agent_config,
fake_create_chat_litellm_from_config,
@ -145,6 +148,7 @@ def _patch_llm_bindings() -> None:
_patch_llm_bindings()
_fake_embeddings.install(_active_patches)
_fake_native_google_drive.install(_active_patches)
# ---------------------------------------------------------------------------