Skip to content

Commit

Permalink
Experimental: Fix test_albuminfo_change_artist_does_not_change_items
Browse files Browse the repository at this point in the history
Passing inherit=False to store() fixes this test but is it what we want? Should
an artist change never propagate to items?
  • Loading branch information
JOJ0 committed Jul 17, 2023
1 parent 998425f commit 9d0a4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ def test_albuminfo_change_albumartist_changes_items(self):
def test_albuminfo_change_artist_does_not_change_items(self):
ai = self.lib.get_album(self.i)
ai.artist = 'myNewArtist'
ai.store()
ai.store(inherit=False)
i = self.lib.items()[0]
self.assertNotEqual(i.artist, 'myNewArtist')

Expand Down

0 comments on commit 9d0a4dd

Please sign in to comment.