Fix a hard-coded path separator in a test

This commit is contained in:
Adrian Sampson 2016-06-08 10:23:35 -07:00
parent f400a2431e
commit f79daacb7b

View file

@ -43,7 +43,8 @@ class ImportfeedsTestTest(unittest.TestCase):
def test_playlist_in_subdir(self):
config['importfeeds']['formats'] = 'm3u'
config['importfeeds']['m3u_name'] = 'subdir/imported.m3u'
config['importfeeds']['m3u_name'] = \
os.path.join('subdir', 'imported.m3u')
album = Album(album='album/name', id=1)
item_path = os.path.join('path', 'to', 'item')
item = Item(title='song', album_id=1, path=item_path)