mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
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:
parent
0b382853ed
commit
9e86162be0
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue