feat: testsuite config get variables by call function

This commit is contained in:
debugtalk
2020-05-18 22:37:12 +08:00
parent 6f5730ce84
commit 49e84b537e
4 changed files with 23 additions and 10 deletions

View File

@@ -36,7 +36,8 @@ class TConfig(BaseModel):
name: Name
verify: Verify = False
base_url: BaseUrl = ""
variables: VariablesMapping = {}
# Text: prepare variables in debugtalk.py, ${get_variable()}
variables: Union[VariablesMapping, Text] = {}
setup_hooks: Hook = []
teardown_hooks: Hook = []
export: Export = []