mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix tweaks not being reset for single tests
This commit is contained in:
parent
a4e0eeb854
commit
2cafeffc2e
@ -21,14 +21,11 @@ class BaseTest(unittest.TestCase):
|
||||
longMessage = True
|
||||
maxDiff = None
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
from calibre.utils.config_base import reset_tweaks_to_default
|
||||
reset_tweaks_to_default()
|
||||
|
||||
def setUp(self):
|
||||
from calibre.utils.recycle_bin import nuke_recycle
|
||||
nuke_recycle()
|
||||
from calibre.utils.config_base import reset_tweaks_to_default
|
||||
reset_tweaks_to_default()
|
||||
self.library_path = self.mkdtemp()
|
||||
self.create_db(self.library_path)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user