tried to add if-statement to load_dotenv to see if this disturbs CI tests
This commit is contained in:
@@ -33,6 +33,7 @@ random.seed(13)
|
|||||||
|
|
||||||
# load local test environment variables
|
# load local test environment variables
|
||||||
test_env_path = Path(__file__).parent.parent.parent.parent.parent / 'test.env'
|
test_env_path = Path(__file__).parent.parent.parent.parent.parent / 'test.env'
|
||||||
|
if test_env_path.exists():
|
||||||
load_dotenv('test.env')
|
load_dotenv('test.env')
|
||||||
|
|
||||||
# define test environment variables
|
# define test environment variables
|
||||||
|
|||||||
Reference in New Issue
Block a user