修改了测试严格程度,高于指定严格程度的用例才影响api是否通过
This commit is contained in:
Binary file not shown.
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user