test: Make music dir of playlist tests Windows-compatible

This commit is contained in:
Jan Holthuis 2019-02-17 21:27:37 +01:00
parent 7ec55a5f3b
commit 76a3e44aad

View file

@ -32,7 +32,7 @@ class PlaylistTestHelper(helper.TestHelper):
self.setup_beets()
self.lib = beets.library.Library(':memory:')
self.music_dir = os.path.expanduser('~/Music')
self.music_dir = os.path.expanduser(os.path.join('~', 'Music'))
i1 = _common.item()
i1.path = beets.util.normpath(os.path.join(