Skip to content

Commit

Permalink
Update m3u tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverarmor committed Dec 9, 2024
1 parent 06ed427 commit 0f2a86c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/utils/test_m3u.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ def test_create_m3u_content():

assert content != ""
assert len(content.split("\n")) > 5
assert content.split("\n")[0].endswith("mp3.mp3")

assert content.split("\n")[0] == "#EXTM3U"
assert content.split("\n")[1].startswith("#EXTINF:")
assert content.split("\n")[2].endswith(".mp3")

def test_create_m3u_file(tmpdir, monkeypatch):
monkeypatch.chdir(tmpdir)
Expand Down

0 comments on commit 0f2a86c

Please sign in to comment.