mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 13:02:47 +01:00
Using LibTestCase instead of TestCase
This commit is contained in:
parent
433f85c9d2
commit
8fc292bc44
1 changed files with 1 additions and 7 deletions
|
|
@ -84,18 +84,12 @@ class QueryTest(_common.TestCase):
|
|||
self.check_do_query(0, 2, album=True, also_items=False)
|
||||
|
||||
|
||||
class FieldsTest(_common.TestCase):
|
||||
class FieldsTest(_common.LibTestCase):
|
||||
def setUp(self):
|
||||
super(FieldsTest, self).setUp()
|
||||
|
||||
self.io.install()
|
||||
|
||||
self.libdir = os.path.join(self.temp_dir, 'testlibdir')
|
||||
os.mkdir(self.libdir)
|
||||
|
||||
# Add a file to the library but don't copy it in yet.
|
||||
self.lib = library.Library(':memory:', self.libdir)
|
||||
|
||||
def tearDown(self):
|
||||
self.io.restore()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue