9 lines
344 B
Python
9 lines
344 B
Python
import os
|
|
|
|
|
|
def pytest_configure(config):
|
|
"""Set up minimal environment variables for tests before any imports."""
|
|
os.environ.setdefault("DATABASE_URL", "postgresql+asyncpg://test:test@localhost/test")
|
|
os.environ.setdefault("OLLAMA_BASE_URL", "http://localhost:11434")
|
|
os.environ.setdefault("SESSION_SECRET", "test-secret-key")
|