mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 05:19:38 +08:00
feat: make referenced testcase as pytest class
This commit is contained in:
@@ -64,7 +64,7 @@ class Request(BaseModel):
|
||||
class TStep(BaseModel):
|
||||
name: Name
|
||||
request: Request = None
|
||||
testcase: Text = ""
|
||||
testcase: Union[Text, Callable] = ""
|
||||
variables: VariablesMapping = {}
|
||||
extract: Dict[Text, Text] = {}
|
||||
validators: Validators = Field([], alias="validate")
|
||||
|
||||
Reference in New Issue
Block a user