coming together

This commit is contained in:
HotSwapp
2025-08-13 18:53:35 -05:00
parent acc5155bf7
commit 5111079149
51 changed files with 14457 additions and 588 deletions

11
tests/conftest.py Normal file
View File

@@ -0,0 +1,11 @@
import os
# Ensure required settings exist for app modules imported during tests
os.environ.setdefault("SECRET_KEY", "x" * 32)
# Use a file-based SQLite DB so metadata.create_all and sessions share state
os.environ.setdefault("DATABASE_URL", "sqlite:////tmp/delphi_test.sqlite")
os.environ.setdefault("PYTEST_RUNNING", "1")
os.environ.setdefault("DISABLE_LOG_ENQUEUE", "1")