mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
refactor: update TStep extract/export type
This commit is contained in:
@@ -67,9 +67,9 @@ class TStep(BaseModel):
|
|||||||
setup_hooks: Hook = []
|
setup_hooks: Hook = []
|
||||||
teardown_hooks: Hook = []
|
teardown_hooks: Hook = []
|
||||||
# used to extract request's response field
|
# used to extract request's response field
|
||||||
extract: Dict[Text, Text] = {}
|
extract: VariablesMapping = {}
|
||||||
# used to export session variables from referenced testcase
|
# used to export session variables from referenced testcase
|
||||||
export: List[Text] = []
|
export: Export = []
|
||||||
validators: Validators = Field([], alias="validate")
|
validators: Validators = Field([], alias="validate")
|
||||||
validate_script: List[Text] = []
|
validate_script: List[Text] = []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user