tried to add if-statement to load_dotenv to see if this disturbs CI tests
This commit is contained in:
@@ -33,7 +33,8 @@ 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'
|
||||||
load_dotenv('test.env')
|
if test_env_path.exists():
|
||||||
|
load_dotenv('test.env')
|
||||||
|
|
||||||
# define test environment variables
|
# define test environment variables
|
||||||
env_var_map = {
|
env_var_map = {
|
||||||
|
|||||||
Reference in New Issue
Block a user