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