From fbfd8bbc92531f48999006344fe2ddb573ee60b8 Mon Sep 17 00:00:00 2001 From: Jonathon Broughton <760691+jsdbroughton@users.noreply.github.com> Date: Thu, 13 Feb 2025 02:27:44 +0000 Subject: [PATCH] fix for relative path to .env I find I have to override this when running tests locally. Perhaps there is another way, or a failsafe alternative --- src/speckle_automate/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/speckle_automate/fixtures.py b/src/speckle_automate/fixtures.py index 5e92974..f1473d2 100644 --- a/src/speckle_automate/fixtures.py +++ b/src/speckle_automate/fixtures.py @@ -16,7 +16,7 @@ class TestAutomationEnvironment(BaseSettings): """Get known environment variables from local `.env` file""" model_config = SettingsConfigDict( - env_file=".env", + env_file="../.env", env_file_encoding="utf-8", env_prefix="speckle_", extra="ignore",