Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -30,7 +30,7 @@ class TestPlaylistRepository:
|
||||
async def playlist_repository(
|
||||
self,
|
||||
test_session: AsyncSession,
|
||||
) -> AsyncGenerator[PlaylistRepository, None]:
|
||||
) -> AsyncGenerator[PlaylistRepository]:
|
||||
"""Create a playlist repository instance."""
|
||||
yield PlaylistRepository(test_session)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user