mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
refactor: rename TestCaseInOut field
This commit is contained in:
@@ -99,8 +99,8 @@ class TestCaseTime(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class TestCaseInOut(BaseModel):
|
class TestCaseInOut(BaseModel):
|
||||||
vars: VariablesMapping = {}
|
config_vars: VariablesMapping = {}
|
||||||
export: Dict = {}
|
export_vars: Dict = {}
|
||||||
|
|
||||||
|
|
||||||
class RequestStat(BaseModel):
|
class RequestStat(BaseModel):
|
||||||
|
|||||||
@@ -334,7 +334,7 @@ class HttpRunner(object):
|
|||||||
duration=self.__duration,
|
duration=self.__duration,
|
||||||
),
|
),
|
||||||
in_out=TestCaseInOut(
|
in_out=TestCaseInOut(
|
||||||
vars=self.__config.variables, export=self.get_export_variables()
|
config_vars=self.__config.variables, export_vars=self.get_export_variables()
|
||||||
),
|
),
|
||||||
log=self.__log_path,
|
log=self.__log_path,
|
||||||
step_datas=self.__step_datas,
|
step_datas=self.__step_datas,
|
||||||
|
|||||||
Reference in New Issue
Block a user