fix: ensure project meta files exist in generated pytest folder files

This commit is contained in:
debugtalk
2020-06-06 09:38:00 +08:00
parent e8275ab38a
commit 9a4ee8f3a0
3 changed files with 31 additions and 7 deletions

View File

@@ -82,6 +82,7 @@ class TestCase(BaseModel):
class ProjectMeta(BaseModel):
debugtalk_py: Text = "" # debugtalk.py file content
debugtalk_path: Text = "" # debugtalk.py file path
dot_env_path: Text = "" # .env file path
functions: FunctionsMapping = {} # functions defined in debugtalk.py
env: Env = {}
PWD: Text = os.getcwd() # project working directory, the path debugtalk.py located