测试: 订阅管理 API + 查重上传错误处理 单元测试 (63用例) #83
Reference in New Issue
Block a user
Delete Branch "test/subscription-duplication-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
测试覆盖
1. 订阅管理 API 测试 (
test_subscription_api.py) — 26 用例覆盖 5 个端点:
_get_plan_name、_get_plan_price、PLAN_QUOTAS硬编码验证2. 查重上传错误处理测试 (
test_duplication_upload_error_handling.py) — 37 用例验证 PR#82 修复(P1 安全修复):
_validate_video_mime_type函数 — 基础类型返回、参数去除、大小写不敏感、全量白名单、空/None 400、无效 415、消息安全性测试方法
关联