From 66370a33c270779728451c661f22aa55df1ce6cc Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 17 Mar 2025 21:12:19 +0000 Subject: [PATCH] tried to add if-statement to load_dotenv to see if this disturbs CI tests --- shared/repositories/tests/integration/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/repositories/tests/integration/conftest.py b/shared/repositories/tests/integration/conftest.py index 30802c7..1c97d4e 100644 --- a/shared/repositories/tests/integration/conftest.py +++ b/shared/repositories/tests/integration/conftest.py @@ -33,7 +33,8 @@ random.seed(13) # load local test environment variables test_env_path = Path(__file__).parent.parent.parent.parent.parent / 'test.env' -load_dotenv('test.env') +if test_env_path.exists(): + load_dotenv('test.env') # define test environment variables env_var_map = {