convert: playlist: Put actual Windows paths

into fixture file for the Windows unittest.
This commit is contained in:
J0J0 T 2022-08-28 13:31:32 +02:00 committed by J0J0 Todos
parent b3d0c1cc1c
commit 004d10a143
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
#EXTM3U
\\\\?\\/This/is/å/path/to_a_file.mp3
\\\\?\\/This/is/another/path/tö_a_file.mp3
x:\This\is\å\path\to_a_file.mp3
x:\This\is\another\path\tö_a_file.mp3

View file

@ -86,7 +86,7 @@ class M3UFileTest(unittest.TestCase):
m3ufile = M3UFile(the_playlist_file)
m3ufile.load()
self.assertEqual(m3ufile.media_list[0],
'\\\\?\\/This/is/å/path/to_a_file.mp3\n')
'x:\This\is\å\path\to_a_file.mp3\n')
def test_playlist_load_extm3u(self):
"""Test loading a playlist with an #EXTM3U header."""