Commit cab28a47 authored by petitminion's avatar petitminion
Browse files

Merge branch 'playlist' of into playlist

parents 2830134a c5d8470a
Pipeline #16341 failed with stages
in 33 seconds
import os
from funkwhale_api.playlists import utils
def test_get_track_id_from_xspf(factories, tmp_path):
track1 = factories["music.Track"]()
track2 = factories["music.Track"]()
tracks_ids = [,]
xspf_content = utils.generate_xspf_from_tracks_ids(tracks_ids)
f = open("test.xspf", "w")
xspf_file = "test.xspf"
expected = [,]
assert utils.get_track_id_from_xspf(xspf_file) == expected
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment