change: format copied debugtalk.py

This commit is contained in:
debugtalk
2020-06-06 10:05:57 +08:00
parent 9a4ee8f3a0
commit 6471b006cb
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from httprunner import __version__
def get_httprunner_version():
return __version__
def sum_two(m, n):
return m + n
def get_variables():
return {"foo1": "session_bar1"}

View File

@@ -112,6 +112,9 @@ def __ensure_project_meta_files(tests_path: Text) -> NoReturn:
logger.info(f"copy debugtalk.py to {debugtalk_new_path}")
copyfile(debugtalk_path, debugtalk_new_path)
global pytest_files_made_cache_mapping
pytest_files_made_cache_mapping[debugtalk_new_path] = ""
dot_csv_path = project_meta.dot_env_path
if dot_csv_path:
dot_csv_new_path = ensure_file_path_valid(dot_csv_path)