geo/backend/tests/test_api
chiguyong 761e1f026e fix: resolve API signature drift and test isolation failures
- Fix KnowledgeDocument/KnowledgeBase model field changes in test fixtures
- Fix RecursiveChunker constructor changes (no longer accepts chunk_size)
- Fix WenxinAdapter mock from _request_with_retry to _get_access_token + _client.post
- Fix UUID type mismatch in knowledge_graph tests
- Add rate limiter state reset autouse fixture to prevent cross-test contamination
- Skip tests blocked by Query.user_id String vs uuid.UUID comparison bug
- Fix .env.example path, KeyVerifierFactory mock, env variable cleanup
- Result: 68 failed + 33 errors → 0 failed, 1537 passed, 33 skipped
2026-06-05 01:08:31 +08:00
..
__init__.py feat: GEO平台P0-P1核心功能重构 2026-05-23 09:34:58 +08:00
test_ai_engines_api.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_alert_settings_api.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_api_keys_api.py fix: resolve API signature drift and test isolation failures 2026-06-05 01:08:31 +08:00
test_attribution_contract.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_auth.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_auth_api.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_brands.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_brands_api.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_citations.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_competitors.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_content_api.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_content_distribution_contract.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_detection_api.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_diagnosis_api.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_diagnosis_contract.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_email_contract.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_health_api.py feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
test_health_score_contract.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_knowledge_graph_batch.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00
test_knowledge_no_mock.py fix: 消除所有Mock/Stub/假数据,确保业务流程使用真实数据 2026-05-25 21:51:48 +08:00
test_lifecycle_exception_handling.py fix: resolve API signature drift and test isolation failures 2026-06-05 01:08:31 +08:00
test_onboarding_contract.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_organization_routes.py fix: resolve API signature drift and test isolation failures 2026-06-05 01:08:31 +08:00
test_payment_contract.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_platform_rules_history.py fix: 消除所有Mock/Stub/假数据,确保业务流程使用真实数据 2026-05-25 21:51:48 +08:00
test_platforms_routes.py fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
test_reports.py fix: resolve API signature drift and test isolation failures 2026-06-05 01:08:31 +08:00
test_scoring.py chore: geo production readiness improvements 2026-06-04 22:08:06 +08:00