From e1dc085252e5b56bc1c867abd824917c9795ff48 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 6 Dec 2023 21:55:21 +0100 Subject: [PATCH] fix env file path --- main.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index b939aa5..4d3cee1 100644 --- a/main.py +++ b/main.py @@ -20,10 +20,11 @@ from pytest_abra.utils import get_session_id # At the moment, functionailty is only guaranteed if each env file use # a unique TYPE var. +ENV_FILES_ROOT = Path("../envfiles").resolve() ENV_FILES = [ - Path("envfiles/login.test.dev.local-it.cloud.env"), # authentik - Path("envfiles/blog.test.dev.local-it.cloud.env"), # wordpress - # Path("envfiles/files.test.dev.local-it.cloud.env"), # nextcloud + ENV_FILES_ROOT / "login.test.dev.local-it.cloud.env", # authentik + ENV_FILES_ROOT / "blog.test.dev.local-it.cloud.env", # wordpress + ENV_FILES_ROOT / "files.test.dev.local-it.cloud.env", # nextcloud ] @@ -31,7 +32,7 @@ ENV_FILES = [ OUTPUT_DIR = Path("./test-output").resolve() -RECIPES_DIR = Path("./recipes").resolve() +RECIPES_DIR = Path("../recipes").resolve() # --------------------- load credentials to env variables -------------------- #