Ejemplo n.º 1
0
 def tearDown(self):
     self.remove_database()
     corrupt_path = os.path.join(os.path.dirname(self.save_path), "corrupt_database")
     if os.path.exists(corrupt_path):
         os.remove(corrupt_path)
     databaseupgrade._upgrade_overide = {}
     EventLoopTest.tearDown(self)
Ejemplo n.º 2
0
 def tearDown(self):
     # need to close the db before removing it from disk
     app.db.close()
     self.remove_database()
     corrupt_path = os.path.join(os.path.dirname(self.save_path),
                                 'corrupt_database')
     if os.path.exists(corrupt_path):
         os.remove(corrupt_path)
     databaseupgrade._upgrade_overide = {}
     EventLoopTest.tearDown(self)
Ejemplo n.º 3
0
 def tearDown(self):
     # need to close the db before removing it from disk
     app.db.close()
     self.remove_database()
     corrupt_path = os.path.join(os.path.dirname(self.save_path),
                                 'corrupt_database')
     if os.path.exists(corrupt_path):
         os.remove(corrupt_path)
     databaseupgrade._upgrade_overide = {}
     EventLoopTest.tearDown(self)
Ejemplo n.º 4
0
 def tearDown(self):
     del app.device_manager
     EventLoopTest.tearDown(self)
Ejemplo n.º 5
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     messages.BackendMessage.reset_handler()
     messages.FrontendMessage.reset_handler()
Ejemplo n.º 6
0
 def tearDown(self):
     shutil.rmtree(self.mytempdir, ignore_errors=True)
     EventLoopTest.tearDown(self)
Ejemplo n.º 7
0
 def tearDown(self):
     self.subprocess.shutdown()
     EventLoopTest.tearDown(self)
Ejemplo n.º 8
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     workerprocess.shutdown()
Ejemplo n.º 9
0
 def tearDown(self):
     self.subprocess.shutdown()
     EventLoopTest.tearDown(self)
Ejemplo n.º 10
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     self.stopEventLoop(abnormal=False)
Ejemplo n.º 11
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     messages.BackendMessage.reset_handler()
     messages.FrontendMessage.reset_handler()
Ejemplo n.º 12
0
 def tearDown(self):
     shutil.rmtree(self.mytempdir, ignore_errors=True)
     EventLoopTest.tearDown(self)
Ejemplo n.º 13
0
 def tearDown(self):
     del app.testing_mdp
     EventLoopTest.tearDown(self)
Ejemplo n.º 14
0
 def tearDown(self):
     app.directory_watcher = None
     EventLoopTest.tearDown(self)
Ejemplo n.º 15
0
 def tearDown(self):
     app.directory_watcher = None
     EventLoopTest.tearDown(self)
Ejemplo n.º 16
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     download.next_free_filename = download_utils.next_free_filename
     download.chatter = True
Ejemplo n.º 17
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     workerprocess.shutdown()
Ejemplo n.º 18
0
 def tearDown(self):
     del app.device_manager
     EventLoopTest.tearDown(self)
Ejemplo n.º 19
0
 def tearDown(self):
     app.download_state_manager.shutdown_downloader(
             lambda: self.stopEventLoop(abnormal=False))
     self.runEventLoop()
     app.download_state_manager.daemon_starter = None
     EventLoopTest.tearDown(self)
Ejemplo n.º 20
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     download.next_free_filename = download_utils.next_free_filename
     download.chatter = True
Ejemplo n.º 21
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     self.stopEventLoop(abnormal=False)
Ejemplo n.º 22
0
 def tearDown(self):
     app.download_state_manager.shutdown_downloader(
         lambda: self.stopEventLoop(abnormal=False))
     self.runEventLoop()
     app.download_state_manager.daemon_starter = None
     EventLoopTest.tearDown(self)