fix VFS tests

The configuration was not loaded for these tests because they didn't inherit
the common test harness. These failures were hidden on my system because of
some kind of dependency on another test.
This commit is contained in:
Adrian Sampson 2013-04-06 16:35:17 -07:00
parent 70b528ed81
commit 963b0d11d6

View file

@ -18,8 +18,9 @@ from _common import unittest
from beets import library
from beets import vfs
class VFSTest(unittest.TestCase):
class VFSTest(_common.TestCase):
def setUp(self):
super(VFSTest, self).setUp()
self.lib = library.Library(':memory:', path_formats=[
('default', 'albums/$album/$title'),
('singleton:true', 'tracks/$artist/$title'),