mirror of
https://github.com/beetbox/beets.git
synced 2026-01-11 02:13:28 +01:00
Tests: fix mocking of art.extract
This commit is contained in:
parent
5db8f69bc1
commit
bfa56b1d8d
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ class EmbedartCliTest(_common.TestCase, TestHelper):
|
|||
@patch('beets.art.extract')
|
||||
class ArtSimilarityTest(unittest.TestCase):
|
||||
def test_imagemagick_response(self, mock_extract, mock_subprocess):
|
||||
mock_extract.return_value = True
|
||||
mock_extract.return_value = b'extracted_path'
|
||||
proc = mock_subprocess.Popen.return_value
|
||||
log = logging.getLogger('beets.embedart')
|
||||
item = _common.item()
|
||||
|
|
|
|||
Loading…
Reference in a new issue