geo/backend/tests/test_services
chiguyong b41da42d74 feat(geo): U1-U9 monetization closed loop implementation
U1: GEO diagnosis auto data collection (DataCollectorService + 11 tests)
U2: Free GEO health score public page (HealthScoreAPI + 7 tests)
U3: Onboarding redesign with conversion layer (Step0 + UpgradePrompt + 14 tests)
U4: Real payment integration (WeChat/Alipay gateway + PaymentOrder + 12 tests)
U5: AI content generation & distribution (Publishers + PublishEngine + 11 tests)
U6: Attribution system & ROI reports (AttributionEngine + ROICalculator + 12 tests)
U7: Email integration & Dashboard monetization UI (EmailScheduler + templates + 22 tests)
U8: Integration tests & shared fixtures (monetization flow + fixture consolidation + 12 tests)
U9: E2E smoke tests (HealthScorePage + acquisition/core flow + 4 E2E cases)

Total: 101 new backend tests passing, 4 E2E test cases
All third-party integrations use mock mode by default with config center management
2026-06-01 07:39:05 +08:00
..
__init__.py feat: GEO平台P0-P1核心功能重构 2026-05-23 09:34:58 +08:00
test_adapter_key_source.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_adapter_registration.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_ai_engine_chinese.py feat: 补齐AI引擎适配器 - 9引擎全覆盖+代理支持 2026-05-25 12:16:16 +08:00
test_ai_engine_query.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_api_key_manager.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_api_key_manager_dual.py fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
test_batch_query_exception_handling.py fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
test_batch_query_service.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_brand_citation_llm.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_citation_pattern.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_content_generation.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_data_collector.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_detection_scheduler.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_email_service.py feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
test_geo_diagnosis.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_imports.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_key_encryption.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_key_verifier.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_knowledge_enhanced.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_knowledge_graph.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_llm_provider.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_platform_rules.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_proxy_and_deepseek.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_quota_service.py feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
test_qwen_gemini_adapters.py feat: 补齐AI引擎适配器 - 9引擎全覆盖+代理支持 2026-05-25 12:16:16 +08:00
test_rag_service.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_scoring_service.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_seo_diagnosis.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_smart_router_and_usage.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_smart_router_key_integration.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_topic_templates.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_usage_recording.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_usage_tracker_exception_handling.py fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
test_yuanbao_adapter.py feat: 补齐AI引擎适配器 - 9引擎全覆盖+代理支持 2026-05-25 12:16:16 +08:00