fix: missing validate_script

This commit is contained in:
debugtalk
2020-05-29 19:06:06 +08:00
parent 446860503f
commit f6d4d4a311
3 changed files with 7 additions and 0 deletions

View File

@@ -113,6 +113,7 @@ def sort_step_by_custom_order(step: Dict) -> Dict:
"teardown_hooks",
"extract",
"validate",
"validate_script",
]
return sort_dict_by_custom_order(step, custom_order)
@@ -137,6 +138,9 @@ def ensure_step_attachment(step: Dict) -> Dict:
if "validate" in step:
test_dict["validate"] = convert_validators(step["validate"])
if "validate_script" in step:
test_dict["validate_script"] = step["validate_script"]
return test_dict