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)
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)
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)
def tearDown(self): del app.device_manager EventLoopTest.tearDown(self)
def tearDown(self): EventLoopTest.tearDown(self) messages.BackendMessage.reset_handler() messages.FrontendMessage.reset_handler()
def tearDown(self): shutil.rmtree(self.mytempdir, ignore_errors=True) EventLoopTest.tearDown(self)
def tearDown(self): self.subprocess.shutdown() EventLoopTest.tearDown(self)
def tearDown(self): EventLoopTest.tearDown(self) workerprocess.shutdown()
def tearDown(self): self.subprocess.shutdown() EventLoopTest.tearDown(self)
def tearDown(self): EventLoopTest.tearDown(self) self.stopEventLoop(abnormal=False)
def tearDown(self): EventLoopTest.tearDown(self) messages.BackendMessage.reset_handler() messages.FrontendMessage.reset_handler()
def tearDown(self): shutil.rmtree(self.mytempdir, ignore_errors=True) EventLoopTest.tearDown(self)
def tearDown(self): del app.testing_mdp EventLoopTest.tearDown(self)
def tearDown(self): app.directory_watcher = None EventLoopTest.tearDown(self)
def tearDown(self): app.directory_watcher = None EventLoopTest.tearDown(self)
def tearDown(self): EventLoopTest.tearDown(self) download.next_free_filename = download_utils.next_free_filename download.chatter = True
def tearDown(self): EventLoopTest.tearDown(self) workerprocess.shutdown()
def tearDown(self): del app.device_manager EventLoopTest.tearDown(self)
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)
def tearDown(self): EventLoopTest.tearDown(self) download.next_free_filename = download_utils.next_free_filename download.chatter = True
def tearDown(self): EventLoopTest.tearDown(self) self.stopEventLoop(abnormal=False)
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)