mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-18 12:57:36 +08:00
fix: fix load_tests for not exist path
This commit is contained in:
@@ -257,9 +257,7 @@ class HttpRunner(object):
|
||||
"""
|
||||
# load tests
|
||||
self.exception_stage = "load tests"
|
||||
path = loader.prepare_path(path)
|
||||
tests_mapping = loader.load_tests(path, dot_env_path)
|
||||
tests_mapping["project_mapping"]["test_path"] = path
|
||||
|
||||
if mapping:
|
||||
tests_mapping["project_mapping"]["variables"] = mapping
|
||||
|
||||
Reference in New Issue
Block a user