mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-10 02:09:51 +08:00
relocate locust template file
This commit is contained in:
@@ -36,7 +36,8 @@ def gen_locustfile(testcase_file_path):
|
||||
locustfile_path = 'locustfile.py'
|
||||
template_path = os.path.join(
|
||||
os.path.dirname(os.path.realpath(__file__)),
|
||||
'locustfile_template'
|
||||
"templates",
|
||||
"locustfile_template"
|
||||
)
|
||||
testset = load_test_file(testcase_file_path)
|
||||
host = testset.get("config", {}).get("request", {}).get("base_url", "")
|
||||
|
||||
Reference in New Issue
Block a user