修改了测试严格程度,高于指定严格程度的用例才影响api是否通过

This commit is contained in:
gongwenxin
2025-06-27 18:44:36 +08:00
parent 864a36fe61
commit f003fbbbd1
23 changed files with 52248 additions and 9149 deletions
@@ -10,7 +10,7 @@ class RequiredHeadersSchemaCheck(BaseAPITestCase):
id = "TC-HEADER-001"
name = "必需请求头Schema验证"
description = "验证API规范中是否包含必需的请求头(X-Tenant-ID、X-Data-Domain和Authorization)"
severity = TestSeverity.CRITICAL
severity = TestSeverity.HIGH
tags = ["headers", "schema", "compliance"]
execution_order = 0 # 优先执行
# is_critical_setup_test = True