mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
refactor: clean up imports and improve db_session fixture in test configuration
This commit is contained in:
@@ -64,4 +64,4 @@ async def get_test_db() -> AsyncGenerator:
|
||||
# Only log actual database-related issues, not response validation
|
||||
if not isinstance(ex, ResponseValidationError):
|
||||
await logger.aerror(f"Database-related error: {repr(ex)}")
|
||||
raise # Re-raise to be handled by appropriate handlers
|
||||
raise # Re-raise to be handled by appropriate handlers
|
||||
|
||||
Reference in New Issue
Block a user