mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-25 18:30:04 +08:00
fixed: #931 unit test parameters
This commit is contained in:
@@ -612,7 +612,7 @@ def init_make_parser(subparsers):
|
||||
|
||||
def make_test_start_style(config: Dict) -> Text:
|
||||
test_start_style = ""
|
||||
if config["parameters"]:
|
||||
if "parameters" in config.keys():
|
||||
params = config["parameters"]
|
||||
test_start_style = f"""
|
||||
import pytest
|
||||
|
||||
Reference in New Issue
Block a user