mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-21 08:10:24 +08:00
fix #258
This commit is contained in:
@@ -164,8 +164,8 @@ class Runner(object):
|
||||
self._handle_skip_feature(teststep_dict)
|
||||
|
||||
# prepare
|
||||
extractors = teststep_dict.pop("extract", []) or teststep_dict.pop("extractors", [])
|
||||
validators = teststep_dict.pop("validate", []) or teststep_dict.pop("validators", [])
|
||||
extractors = teststep_dict.get("extract", []) or teststep_dict.get("extractors", [])
|
||||
validators = teststep_dict.get("validate", []) or teststep_dict.get("validators", [])
|
||||
parsed_request = self.init_config(teststep_dict, level="teststep")
|
||||
self.context.update_teststep_variables_mapping("request", parsed_request)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user