geo/backend/tests
chiguyong 3711f1641a feat: payment SDK integration, attribution window config, E2E tests, CI integration, rules center tests
- WeChat Pay V3: real API calls with HMAC-SHA256 signing, AES-GCM callback decryption
- Alipay: real API calls with RSA2 signing, WAP payment support
- Both gateways fallback to MockGateway when unconfigured
- Attribution window configurable via ATTRIBUTION_WINDOW_DAYS env var (default 28)
- 30 platform-specific rule test cases (WeChat/Zhihu/Xiaohongshu/Baijiahao/Toutiao/Douyin)
- Fixed clickbait detection bug (character-level to word-level matching)
- E2E tests for diagnosis-strategy and content-monitoring flows
- CI: e2e-test job, bandit security scan, npm audit, performance baseline
2026-06-02 21:50:26 +08:00
..
fixtures chore: unify test dirs, remove debug scripts, add content/diagnosis/attribution fixtures 2026-06-02 21:15:15 +08:00
test_agent_framework feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_api feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_content_pipeline feat: payment SDK integration, attribution window config, E2E tests, CI integration, rules center tests 2026-06-02 21:50:26 +08:00
test_infrastructure feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_integration feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_middleware fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
test_models feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_repositories feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
test_services feat: payment SDK integration, attribution window config, E2E tests, CI integration, rules center tests 2026-06-02 21:50:26 +08:00
test_utils feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_workers feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
__init__.py feat: GEO平台P0-P1核心功能重构 2026-05-23 09:34:58 +08:00
conftest.py chore: unify test dirs, remove debug scripts, add content/diagnosis/attribution fixtures 2026-06-02 21:15:15 +08:00
test_config.py feat: P1核心功能验证完成 - 迁移/平台对接/调度器/配置/Agent监控 2026-05-23 22:02:49 +08:00
test_database_exception_handling.py fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
test_database_migration.py feat: P1核心功能验证完成 - 迁移/平台对接/调度器/配置/Agent监控 2026-05-23 22:02:49 +08:00
test_html_generator.py feat: 平台规则中心完善 - TDD开发完成 2026-05-23 23:03:42 +08:00
test_performance.py feat: 完成系统真实化改造 + Mock清除 + 文档编写 2026-05-23 21:35:10 +08:00
test_platform_adapters.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
test_rule_validator.py feat: 平台规则中心完善 - TDD开发完成 2026-05-23 23:03:42 +08:00
test_scheduler.py feat: P1核心功能验证完成 - 迁移/平台对接/调度器/配置/Agent监控 2026-05-23 22:02:49 +08:00
test_security.py feat: 完成系统真实化改造 + Mock清除 + 文档编写 2026-05-23 21:35:10 +08:00
test_sensitive_filter.py feat: 平台规则中心完善 - TDD开发完成 2026-05-23 23:03:42 +08:00
test_seo_optimizer.py feat: 平台规则中心完善 - TDD开发完成 2026-05-23 23:03:42 +08:00