SurfSense/surfsense_backend/tests/unit/services
CREDO23 99cf212c31 test: fix auth-mode mismatch and stale QuotaInsufficientError kwargs
Pin AUTH_TYPE=LOCAL (and REGISTRATION_ENABLED=TRUE) in the test bootstrap so
the email/password auth routers mount during integration tests regardless of a
developer's .env=GOOGLE; without this the upload tests 404 on registration.
Also update three tests to the current QuotaInsufficientError signature
(balance_micros) after used_micros/limit_micros were removed.
2026-06-12 12:19:49 +02:00
..
streaming feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
__init__.py test: add unit tests for Dropbox integration, covering delta sync methods, file type filtering, and re-authentication behavior 2026-04-06 18:36:48 +05:30
test_agent_billing_resolver.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
test_ai_file_sort_service.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
test_ai_sort_task_dedupe.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
test_auto_model_pin_service.py feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
test_auto_pin_image_aware.py feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
test_billable_call.py feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
test_docling_image_support.py chore: ran linting 2026-04-07 05:55:39 +05:30
test_folder_hierarchy.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
test_image_gen_api_base_defense.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
test_llm_router_pool_filter.py chore: ran linting 2026-05-02 03:36:13 +05:30
test_memory_service.py feat: add no-update sentinel handling to save_memory function and corresponding unit tests 2026-05-20 15:03:35 +05:30
test_openrouter_integration_service.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_openrouter_legacy_config.py chore: ran linting 2026-05-02 03:36:13 +05:30
test_or_health_enrichment.py feat(openrouter): blend per-model /endpoints health into quality score 2026-05-01 23:38:40 +05:30
test_pricing_registration.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
test_provider_api_base.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_provider_capabilities.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_quality_score.py chore: ran linting 2026-05-02 03:36:13 +05:30
test_quota_checked_vision_llm.py test: fix auth-mode mismatch and stale QuotaInsufficientError kwargs 2026-06-12 12:19:49 +02:00
test_revert_filesystem_tools.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_revert_service.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
test_supports_image_input.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
test_token_quota_service_cost.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
test_vision_llm_api_base_defense.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00