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