From 004d10a143fcb89291ead9c4293be828b7353d8e Mon Sep 17 00:00:00 2001 From: J0J0 T Date: Sun, 28 Aug 2022 13:31:32 +0200 Subject: [PATCH] convert: playlist: Put actual Windows paths into fixture file for the Windows unittest. --- test/rsrc/playlist_windows.m3u8 | 4 ++-- test/test_m3ufile.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/rsrc/playlist_windows.m3u8 b/test/rsrc/playlist_windows.m3u8 index 97da8660a..c1f4af63a 100644 --- a/test/rsrc/playlist_windows.m3u8 +++ b/test/rsrc/playlist_windows.m3u8 @@ -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 diff --git a/test/test_m3ufile.py b/test/test_m3ufile.py index 4e13a9c1d..f9fd37dbd 100644 --- a/test/test_m3ufile.py +++ b/test/test_m3ufile.py @@ -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."""