Fix flake8 issues in test_ui.py

that were introduced in 27218a94.
This commit is contained in:
J0J0 Todos 2023-02-28 09:24:28 +01:00
parent 78853cc9c2
commit 4908e1ae09

View file

@ -709,10 +709,10 @@ class UpdateTest(_common.TestCase):
correct_albumtypes = ["album", "live"]
# Setting albumtypes does not set albumtype, currently.
# Using x[0] mirrors https://github.com/beetbox/mediafile/blob/057432ad53b3b84385e5582f69f44dc00d0a725d/mediafile.py#L1928
correct_albumtype = correct_albumtypes[0]
# Using x[0] mirrors https://github.com/beetbox/mediafile/blob/057432ad53b3b84385e5582f69f44dc00d0a725d/mediafile.py#L1928 # noqa: E501
correct_albumtype = correct_albumtypes[0]
album.albumtype = correct_albumtype
album.albumtype = correct_albumtype
album.albumtypes = correct_albumtypes
album.try_sync(write=True, move=False)