mirror of
https://github.com/beetbox/beets.git
synced 2026-01-17 05:34:23 +01:00
second try
This commit is contained in:
parent
e943486da9
commit
2d756df5b7
1 changed files with 3 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ from __future__ import division, absolute_import, print_function
|
|||
import os
|
||||
import unittest
|
||||
from test.helper import TestHelper
|
||||
import mock
|
||||
|
||||
from beets.library import Item
|
||||
from beetsplug import parentwork
|
||||
|
|
@ -71,8 +72,8 @@ class ParentWorkTest(unittest.TestCase, TestHelper):
|
|||
self.unload_plugins()
|
||||
self.teardown_beets()
|
||||
|
||||
@unittest.mock.patch('musicbrainzngs.get_work_by_id',
|
||||
side_effect=mock_workid_response)
|
||||
@mock.patch('musicbrainzngs.get_work_by_id',
|
||||
side_effect=mock_workid_response)
|
||||
@unittest.skipUnless(
|
||||
os.environ.get('INTEGRATION_TEST', '0') == '1',
|
||||
'integration testing not enabled')
|
||||
|
|
|
|||
Loading…
Reference in a new issue