refactor: Remove unused variable main_playlist_id from test cases in TestPlaylistService
This commit is contained in:
@@ -909,7 +909,6 @@ class TestPlaylistService:
|
|||||||
|
|
||||||
# Extract IDs before async calls
|
# Extract IDs before async calls
|
||||||
sound_id = sound.id
|
sound_id = sound.id
|
||||||
main_playlist_id = main_playlist.id
|
|
||||||
|
|
||||||
# Try to add sound to main playlist (should fail)
|
# Try to add sound to main playlist (should fail)
|
||||||
with pytest.raises(HTTPException) as exc_info:
|
with pytest.raises(HTTPException) as exc_info:
|
||||||
@@ -954,7 +953,6 @@ class TestPlaylistService:
|
|||||||
|
|
||||||
# Extract IDs before async calls
|
# Extract IDs before async calls
|
||||||
sound_id = sound.id
|
sound_id = sound.id
|
||||||
main_playlist_id = main_playlist.id
|
|
||||||
|
|
||||||
# Try to add sound to main playlist (should fail both times)
|
# Try to add sound to main playlist (should fail both times)
|
||||||
with pytest.raises(HTTPException) as exc_info:
|
with pytest.raises(HTTPException) as exc_info:
|
||||||
|
|||||||
Reference in New Issue
Block a user