def test_concat_multi_values_artist_with_no_name(self): artists = [Artist(name=None)] translated = translator.concat_multi_values(artists, "name") assert translated == ""
def test_concat_multi_values_artist_with_no_musicbrainz_id(self): artists = [Artist(name="Jah Wobble")] translated = translator.concat_multi_values(artists, "musicbrainz_id") assert translated == ""
def test_concat_multi_values(self): artists = [Artist(name="ABBA"), Artist(name="Beatles")] translated = translator.concat_multi_values(artists, "name") assert translated == "ABBA;Beatles"