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