8 lines
246 B
Python
8 lines
246 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
_root = Path(__file__).resolve().parents[1] / "Temp" / "pytest"
|
|
_root.mkdir(parents=True, exist_ok=True)
|
|
os.environ["EUNIV_SECRET_KEY"] = "test-secret-key"
|
|
os.environ["EUNIV_DB_PATH"] = str(_root / "euniv.db")
|