mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 08:27:35 +08:00
add extractors back, make compatible with older version
This commit is contained in:
@@ -103,6 +103,7 @@ class Runner(object):
|
|||||||
|
|
||||||
run_times = int(testcase.get("times", 1))
|
run_times = int(testcase.get("times", 1))
|
||||||
extractors = testcase.get("extract") \
|
extractors = testcase.get("extract") \
|
||||||
|
or testcase.get("extractors") \
|
||||||
or testcase.get("extract_binds", [])
|
or testcase.get("extract_binds", [])
|
||||||
validators = testcase.get("validate") \
|
validators = testcase.get("validate") \
|
||||||
or testcase.get("validators", [])
|
or testcase.get("validators", [])
|
||||||
|
|||||||
Reference in New Issue
Block a user