18 lines
643 B
Python
18 lines
643 B
Python
import os
|
|
|
|
# --------------------------------------------------------------------------- #
|
|
# Supply minimal dummy env-vars *before* any of our modules are imported. #
|
|
# This lets the global `settings = Settings()` call succeed. #
|
|
# --------------------------------------------------------------------------- #
|
|
os.environ.update(
|
|
{
|
|
"DB_URI": "sqlite+aiosqlite:///:memory:",
|
|
"ECHO_SQL": "false",
|
|
"SECRET_KEY": "test-secret",
|
|
"REFRESH_SECRET_KEY": "test-refresh",
|
|
"API_KEY": "test-key",
|
|
"TURNSTILE_SECRET_KEY": "test-turnstile",
|
|
}
|
|
)
|
|
|
|
from fooder.test.fixtures import *
|