SurfSense/surfsense_backend/tests/e2e/fakes
CREDO23 64512c604d refactor(agents): colocate gmail + calendar connector tools into subagent slices
Gmail and Calendar are handled together because both Google connectors share
the _build_credentials helper that lived in shared/tools/gmail.

- relocate the gmail helpers (_get_token_encryption, _build_credentials,
  _gmail_headers, _format_gmail_summary) into the gmail subagent slice
  (tools/_helpers.py); repoint gmail search_emails/read_email to it.
- calendar search_events now imports _build_credentials from the gmail slice
  (preserving the existing cross-connector Google-auth dependency).
- repoint both dead tools/__init__ shims at the live local impls.
- fix tests/e2e native_google fake: it patched the dead shared
  google_calendar.*.build paths; point it at the live subagent calendar
  modules (which actually import googleapiclient build).
- delete dead shared/tools/{gmail,google_calendar} twins.

shared/tools now has zero connector dirs. agents unit suite green (942).
2026-06-04 20:09:37 +02:00
..
fixtures test(e2e): wire PDF metadata into connector fixture JSONs 2026-05-09 05:02:40 +05:30
__init__.py test(backend): add E2E harness foundation (entrypoints, middleware, LLM/embedding fakes) 2026-05-06 17:17:42 +05:30
binary_loader.py test(e2e): add shared binary fixture loader for connector fakes 2026-05-09 05:02:23 +05:30
chat_llm.py refactor(tests): simplify logging messages and enhance manual upload journey tests 2026-05-09 05:10:05 +05:30
clickup_module.py test(e2e): add ClickUp MCP backend fake 2026-05-08 13:12:34 +05:30
composio_module.py feat(tests): add mock response for file ownership in composio_module 2026-05-16 20:20:04 +05:30
confluence_indexer.py chore: ran linting 2026-05-09 05:16:20 +05:30
confluence_oauth.py chore: ran linting 2026-05-09 05:16:20 +05:30
docling_service.py chore: fix linting 2026-05-12 04:00:04 +05:30
dropbox_api.py test(e2e): serve binary PDF bytes from storage connector fakes 2026-05-09 05:03:07 +05:30
embeddings.py chore: ran linting 2026-05-09 05:16:20 +05:30
jira_module.py chore: ran linting 2026-05-09 05:16:20 +05:30
linear_module.py test(backend): add Jira MCP E2E fakes 2026-05-08 00:15:08 +05:30
llm.py test(backend): add E2E harness foundation (entrypoints, middleware, LLM/embedding fakes) 2026-05-06 17:17:42 +05:30
mcp_oauth_runtime.py chore: ran linting 2026-05-09 05:16:20 +05:30
mcp_runtime.py refactor(agents): move tools package to app/agents/shared (slice 6) 2026-06-04 13:11:56 +02:00
native_google.py refactor(agents): colocate gmail + calendar connector tools into subagent slices 2026-06-04 20:09:37 +02:00
notion_module.py test(backend): add Confluence OAuth E2E fakes 2026-05-08 01:02:52 +05:30
onedrive_graph.py chore: ran linting 2026-05-09 05:16:20 +05:30
slack_module.py chore: ran linting 2026-05-09 05:16:20 +05:30