mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-29 03:57:22 +08:00
test: #931 add test for parameters
This commit is contained in:
+2
-2
@@ -408,7 +408,7 @@ def make_testcase(testcase: Dict, dir_path: Text = None) -> Text:
|
||||
"class_name": f"TestCase{testcase_cls_name}",
|
||||
"imports_list": imports_list,
|
||||
"config_chain_style": make_config_chain_style(config),
|
||||
"customization_test_start": make_test_start(config),
|
||||
"customization_test_start": make_test_start_style(config),
|
||||
"teststeps_chain_style": [
|
||||
make_teststep_chain_style(step) for step in teststeps
|
||||
],
|
||||
@@ -610,7 +610,7 @@ def init_make_parser(subparsers):
|
||||
return parser
|
||||
|
||||
|
||||
def make_test_start(config: Dict) -> Text:
|
||||
def make_test_start_style(config: Dict) -> Text:
|
||||
test_start_style = ""
|
||||
if config["parameters"]:
|
||||
params = config["parameters"]
|
||||
|
||||
Reference in New Issue
Block a user