From: kaliko Date: Sat, 22 Nov 2014 23:36:16 +0000 (+0100) Subject: Fixed unit test for track/albumartist X-Git-Tag: 0.12.3~7 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=d568b78a3bab54678fda1b2d508356e0141be5cd;p=mpd-sima.git Fixed unit test for track/albumartist --- 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