refactor: update TStep extract/export type

This commit is contained in:
debugtalk
2020-06-05 11:36:19 +08:00
parent 6ba5f703a4
commit 6c12f531f3

View File

@@ -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] = []