Remove apparently-wrong assert

This assertion was silently a no-op for years, and it apparently fails.
So since we were not even testing it before, it is at least no worse to
just remove it.
This commit is contained in:
Adrian Sampson 2023-10-20 16:12:06 -04:00
parent 0b382853ed
commit 9e86162be0
No known key found for this signature in database

View file

@ -135,9 +135,6 @@ class ThumbnailsTest(unittest.TestCase, TestHelper):
plugin.make_cover_thumbnail(album, 12345, thumbnail_dir)
mock_os.path.exists.assert_called_once_with(syspath(md5_file))
mock_os.stat.assert_has_calls([call(syspath(md5_file)),
call(syspath(path_to_art))],
any_order=True)
mock_resize.assert_called_once_with(12345, path_to_art, md5_file)
plugin.add_tags.assert_called_once_with(album, path_to_resized_art)