You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elif "testcases" in data_structure:
# maybe a testsuite, containing a group of testcases
testcases = data_structure["testcases"]
if not isinstance(testcases, list):
return False
for item in testcases:
is_testcase = False
try:
JsonSchemaChecker.validate_testcase_v2_format(item)
is_testcase = True
except exceptions.FileFormatError:
pass
try:
JsonSchemaChecker.validate_testcase_v2_format(item)
is_testcase = True
except exceptions.FileFormatError:
pass
if not is_testcase:
return False
return True
The text was updated successfully, but these errors were encountered:
newgrand-test
changed the title
httprunner 2.5.7 版本 httprunner/loader/chech.py--is_test_content函数有个小bug
httprunner 2.5.7 版本 httprunner/loader/check.py--is_test_content函数有个小bug
Mar 29, 2021
问题描述
httprunner 2.5.7 版本 httprunner/loader/check.py--is_test_content函数有个小bug,testcase文件格式校验时,应该是v1,v2两个版本做校验。
版本信息
请提供如下版本信息:
获取方式:
在 Python 交互式 shell 中输入如下命令进行获取:
项目文件内容(非必须)
The text was updated successfully, but these errors were encountered: