Example #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()
Example #2
0
 def dont_finalise():
     from mnemosyne.libmnemosyne.component_manager import clear_component_managers
     clear_component_managers()
Example #3
0
 def dont_finalise():
     from mnemosyne.libmnemosyne.component_manager import clear_component_managers
     clear_component_managers()
Example #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()
Example #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()