This commit is contained in:
Daniel 2023-12-04 12:41:44 +01:00
parent 40d114d10a
commit 32d8fcf871

View file

@ -40,6 +40,7 @@ OUTPUT_DIR = Path("./test-output").resolve()
# --------------------- load credentials to env variables -------------------- #
cred_file = Path("credentials.json")
with open(cred_file, "r") as f:
CREDENTIALS = json.load(f)
@ -47,9 +48,6 @@ with open(cred_file, "r") as f:
for key, value in CREDENTIALS.items():
os.environ[key] = value
# os.environ["ADMIN_USER"] = CREDENTIALS["admin_user"]
# os.environ["ADMIN_PASS"] = CREDENTIALS["admin_pass"]
# ----------------------------- define session_id ---------------------------- #