change: remove locust for python version

This commit is contained in:
debugtalk
2022-04-03 00:13:28 +08:00
parent 1aeaed5050
commit f5294cb23a
7 changed files with 2 additions and 20 deletions

View File

@@ -198,9 +198,6 @@ def make_config_chain_style(config: Dict) -> Text:
if "export" in config:
config_chain_style += f'.export(*{config["export"]})'
if "weight" in config:
config_chain_style += f'.locust_weight({config["weight"]})'
return config_chain_style
@@ -484,10 +481,6 @@ def make_testsuite(testsuite: Dict):
)
testcase_dict["config"]["variables"].update(testcase_variables)
# override weight
if "weight" in testcase:
testcase_dict["config"]["weight"] = testcase["weight"]
# make testcase
testcase_pytest_path = make_testcase(testcase_dict, testsuite_dir)
pytest_files_run_set.add(testcase_pytest_path)