From 7f19194403f2f1ea66f7816aff24890316441c03 Mon Sep 17 00:00:00 2001 From: Agatha Date: Sat, 15 Mar 2014 14:08:51 -0400 Subject: [PATCH] Updated test_importer for Various Artists All py.test tests should pass now --- test/test_importer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_importer.py b/test/test_importer.py index d321671ce..64704fb4d 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -85,7 +85,10 @@ class AutotagStub(object): id = ' ' + 'M' * distance else: id = '' - artist = artist.replace('Tag', 'Applied') + id + if artist == None: + artist = "Various Artists" + else: + artist = artist.replace('Tag', 'Applied') + id album = album.replace('Tag', 'Applied') + id trackInfos = []