Move translate_artist from mbxml to utils -- fixes TranslateArtistTest.

This commit is contained in:
Lukáš Lalinský
2007-02-24 15:23:11 +01:00
parent 314bdbea62
commit fa06e1aae0
4 changed files with 25 additions and 27 deletions

View File

@@ -75,7 +75,7 @@ class ShortFilenameTest(unittest.TestCase):
class TranslateArtistTest(unittest.TestCase):
def test_latin(self):
self.failUnlessEqual(u"Jean Michel Jarre", util.translate_artist(u"Jean Michel Jarre", u"Jarre, Jean Michel"))
self.failIfEqual(u"Jarre, Jean Michel", util.translate_artist(u"Jean Michel Jarre", u"Jarre, Jean Michel"))