fix #768: dump json file path error when folder name contains dot, such as a.b.c
This commit is contained in:
debugtalk
2019-12-04 12:57:50 +08:00
parent bc9c69956e
commit d7abc3e4ca
8 changed files with 98 additions and 28 deletions

View File

@@ -257,6 +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