test: #931 add test for parameters

This commit is contained in:
jun
2020-07-02 18:11:11 +08:00
parent e64a606516
commit 1c23d20933
7 changed files with 119 additions and 14 deletions
+2 -2
View File
@@ -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"]