mirror of
https://github.com/beetbox/beets.git
synced 2026-01-05 07:23:33 +01:00
Merge pull request #4038 from jackwilsdon/fix-zero-album-art-test
Unload plugins in UI config test
This commit is contained in:
commit
6410b2f009
1 changed files with 2 additions and 0 deletions
|
|
@ -770,6 +770,7 @@ class ConfigTest(unittest.TestCase, TestHelper, _common.Assertions):
|
|||
os.makedirs(self.beetsdir)
|
||||
|
||||
self._reset_config()
|
||||
self.load_plugins()
|
||||
|
||||
def tearDown(self):
|
||||
commands.default_commands.pop()
|
||||
|
|
@ -780,6 +781,7 @@ class ConfigTest(unittest.TestCase, TestHelper, _common.Assertions):
|
|||
del os.environ['APPDATA']
|
||||
else:
|
||||
os.environ['APPDATA'] = self._old_appdata
|
||||
self.unload_plugins()
|
||||
self.teardown_beets()
|
||||
|
||||
def _make_test_cmd(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue