Use different artists for test_set_tags and test_remove_tags to avoid parallel test collisions

This commit is contained in:
Hugo 2017-09-18 14:47:21 +03:00
parent 802b388e79
commit 8e99f2b04e

View file

@ -1803,7 +1803,7 @@ class TestPyLast(unittest.TestCase):
def test_set_tags(self): def test_set_tags(self):
# Arrange # Arrange
tags = ["sometag1", "sometag2"] tags = ["sometag1", "sometag2"]
artist = self.network.get_artist("Test Artist") artist = self.network.get_artist("Test Artist 2")
artist.add_tags(tags) artist.add_tags(tags)
tags_before = artist.get_tags() tags_before = artist.get_tags()
new_tags = ["settag1", "settag2"] new_tags = ["settag1", "settag2"]