Esempio n. 1
0
 def teardown(self):
     try:
         self.mnemosyne.finalise()
         # Avoid having multiple component_managers active.
         from mnemosyne.libmnemosyne.component_manager import clear_component_managers
         clear_component_managers()
     except: # Can throw some errors when we artificially mutilate plugins.
         self.mnemosyne.database().abandon()
Esempio n. 2
0
 def dont_finalise():
     from mnemosyne.libmnemosyne.component_manager import clear_component_managers
     clear_component_managers()
Esempio n. 3
0
 def dont_finalise():
     from mnemosyne.libmnemosyne.component_manager import clear_component_managers
     clear_component_managers()
Esempio n. 4
0
 def teardown(self):
     self.mnemosyne.finalise()
     # Avoid having multiple component_managers active.
     from mnemosyne.libmnemosyne.component_manager import clear_component_managers
     clear_component_managers()
Esempio n. 5
0
 def teardown(self):
     self.mnemosyne.finalise()
     # Avoid having multiple component_managers active.
     from mnemosyne.libmnemosyne.component_manager import clear_component_managers
     clear_component_managers()