From 21424e40c13a781439eb86859185ed8125a86db0 Mon Sep 17 00:00:00 2001 From: cosven Date: Wed, 8 Jan 2025 01:51:02 +0800 Subject: [PATCH] try to fix CI --- tests/player/test_playlist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/player/test_playlist.py b/tests/player/test_playlist.py index 255c491c5..d7c53b12f 100644 --- a/tests/player/test_playlist.py +++ b/tests/player/test_playlist.py @@ -78,7 +78,8 @@ def test_remove_song(mocker, pl, song, song1, song2): assert pl.current_song == song1 -def test_set_current_song_with_media(pl, song2): +@pytest.mark.asyncio +async def test_set_current_song_with_media(pl, song2): """ Set a non-existing song as current song, and the song should be inserted after current_song.