Skip to content

Commit a758da6

Browse files
committed
Try setting env in conftest
1 parent e1984a2 commit a758da6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
import os
23

34
import pytest
45
from sqlmodel import Session
@@ -34,3 +35,4 @@ def mock_security_configuration(tmp_path):
3435
}
3536
with open(config_file, "w") as f:
3637
json.dump(security_config, f)
38+
os.environ["MURFEY_SECURITY_CONFIGURATION"] = str(config_file)

0 commit comments

Comments
 (0)