From d568b78a3bab54678fda1b2d508356e0141be5cd Mon Sep 17 00:00:00 2001 From: kaliko Date: Sun, 23 Nov 2014 00:36:16 +0100 Subject: [PATCH] Fixed unit test for track/albumartist --- tests/test_track.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_track.py b/tests/test_track.py index e838a20..28487b7 100644 --- a/tests/test_track.py +++ b/tests/test_track.py @@ -34,8 +34,8 @@ class TestTrackObject(unittest.TestCase): def test_albumartist(self): trk = Track(albumartist='album_artist', artist='track_artist') - self.assertEqual(trk.artist.name, 'album_artist') + self.assertEqual(trk.get_artist().name, 'album_artist') trk = Track(artist='track_artist') - self.assertEqual(trk.artist.name, 'track_artist') + self.assertEqual(trk.get_artist().name, 'track_artist') # vim: ai ts=4 sw=4 sts=4 expandtab -- 2.39.5