move ENV_Files to main.py
This commit is contained in:
parent
f9baecba30
commit
0a977abf65
2 changed files with 14 additions and 12 deletions
15
main.py
15
main.py
|
|
@ -1,11 +1,22 @@
|
|||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from src.utils import get_session_id
|
||||
from src.wrapper import ENV_FILES, Wrapper
|
||||
from src.wrapper import Wrapper
|
||||
|
||||
ENV_FILES = [
|
||||
Path("envfiles/login.test.dev.local-it.cloud.env"), # authentik
|
||||
# Path("envfiles/blog.test.dev.local-it.cloud.env"), # wordpress
|
||||
]
|
||||
|
||||
TESTS_DIR = Path("./tests").resolve()
|
||||
|
||||
|
||||
# Set environment variables
|
||||
|
||||
os.environ["PWDEBUG"] = "1"
|
||||
# os.environ["PWDEBUG"] = "1"
|
||||
os.environ["TESTS_DIR"] = str(TESTS_DIR)
|
||||
|
||||
|
||||
session_id = get_session_id()
|
||||
wrapper = Wrapper(ENV_FILES, session_id=session_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue