mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
feat: add json schema validation for testsuite
This commit is contained in:
@@ -281,6 +281,7 @@ def load_testsuite(raw_testsuite):
|
||||
}
|
||||
|
||||
"""
|
||||
JsonSchemaChecker.validate_testsuite_format(raw_testsuite)
|
||||
raw_testcases = raw_testsuite.pop("testcases")
|
||||
raw_testsuite["testcases"] = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user