fix #808: project_working_directory is not initialized when running passed in data structure

This commit is contained in:
debugtalk
2020-01-02 22:33:34 +08:00
parent 55d9820d8c
commit e35e0fb938
4 changed files with 11 additions and 2 deletions

View File

@@ -9,7 +9,8 @@ HttpRunner loader
"""
from httprunner.loader.check import is_test_path, is_test_content, JsonSchemaChecker
from httprunner.loader.locate import get_project_working_directory as get_pwd
from httprunner.loader.locate import get_project_working_directory as get_pwd, \
init_project_working_directory as init_pwd
from httprunner.loader.load import load_csv_file, load_builtin_functions
from httprunner.loader.buildup import load_cases, load_project_data
@@ -18,6 +19,7 @@ __all__ = [
"is_test_content",
"JsonSchemaChecker",
"get_pwd",
"init_pwd",
"load_csv_file",
"load_builtin_functions",
"load_project_data",