refactor: update test fixtures and remove unused environment variables

This commit is contained in:
grillazz
2026-01-03 19:04:07 +01:00
parent 88a66b1d92
commit e9ea2c627a
5 changed files with 42 additions and 15 deletions

View File

@@ -33,7 +33,6 @@ class Settings(BaseSettings):
POSTGRES_PASSWORD: str
POSTGRES_HOST: str
POSTGRES_DB: str
POSTGRES_TEST_USER: str
POSTGRES_TEST_DB: str
@computed_field

View File

@@ -18,7 +18,7 @@ engine = create_async_engine(
test_engine = create_async_engine(
global_settings.test_asyncpg_url.unicode_string(),
future=True,
echo=True,
echo=False,
)
# expire_on_commit=False will prevent attributes from being expired