mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-29 11:31:27 +08:00
#78: merge validators in test with api validators
This commit is contained in:
@@ -105,8 +105,7 @@ class Runner(object):
|
||||
extractors = testcase_dict.get("extract") \
|
||||
or testcase_dict.get("extractors") \
|
||||
or testcase_dict.get("extract_binds", [])
|
||||
validators = testcase_dict.get("validate") \
|
||||
or testcase_dict.get("validators", [])
|
||||
validators = testcase_dict.get("validate", [])
|
||||
setup_actions = testcase_dict.get("setup", [])
|
||||
teardown_actions = testcase_dict.get("teardown", [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user