Example #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)
Example #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)
Example #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)
Example #4
0
 def tearDown(self):
     del app.device_manager
     EventLoopTest.tearDown(self)
Example #5
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     messages.BackendMessage.reset_handler()
     messages.FrontendMessage.reset_handler()
Example #6
0
 def tearDown(self):
     shutil.rmtree(self.mytempdir, ignore_errors=True)
     EventLoopTest.tearDown(self)
Example #7
0
 def tearDown(self):
     self.subprocess.shutdown()
     EventLoopTest.tearDown(self)
Example #8
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     workerprocess.shutdown()
Example #9
0
 def tearDown(self):
     self.subprocess.shutdown()
     EventLoopTest.tearDown(self)
Example #10
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     self.stopEventLoop(abnormal=False)
Example #11
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     messages.BackendMessage.reset_handler()
     messages.FrontendMessage.reset_handler()
Example #12
0
 def tearDown(self):
     shutil.rmtree(self.mytempdir, ignore_errors=True)
     EventLoopTest.tearDown(self)
Example #13
0
 def tearDown(self):
     del app.testing_mdp
     EventLoopTest.tearDown(self)
Example #14
0
 def tearDown(self):
     app.directory_watcher = None
     EventLoopTest.tearDown(self)
Example #15
0
 def tearDown(self):
     app.directory_watcher = None
     EventLoopTest.tearDown(self)
Example #16
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     download.next_free_filename = download_utils.next_free_filename
     download.chatter = True
Example #17
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     workerprocess.shutdown()
Example #18
0
 def tearDown(self):
     del app.device_manager
     EventLoopTest.tearDown(self)
Example #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)
Example #20
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     download.next_free_filename = download_utils.next_free_filename
     download.chatter = True
Example #21
0
 def tearDown(self):
     EventLoopTest.tearDown(self)
     self.stopEventLoop(abnormal=False)
Example #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)