def tearDown(self): """ Clean up the test """ test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db()
def tearDown(self): """ Cleans up the test environment. """ test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db()
def tearDown(self): test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db() super(EditorTest, self).tearDown() self.assertEqual([], self.verification_errors)
def tearDownClass(cls): """ Clean up the test """ test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db() LOGGER.info("finished '{}' tests".format(cls.__name__))
def tearDown(self): """ Clean up the test """ test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db() test_utils.set_index_active(True)
def tearDown(self): """ Clean up the test """ test_utils.clean_resources_db() test_utils.clean_storage() settings.MAX_VIEW_INTERVAL = self.max_view_interval_backup settings.MAX_DOWNLOAD_INTERVAL = self.max_download_interval_backup
def tearDown(self): """ Clean up the test """ try: test_utils.clean_resources_db() except: pass test_utils.clean_storage()
def tearDownClass(cls): """ Clean up the test """ LOGGER.info("finished '{}' tests".format(cls.__name__)) # disable indexing during import test_utils.set_index_active(False) test_utils.clean_resources_db() test_utils.clean_storage() OBJECT_XML_CACHE.clear() # enable indexing test_utils.set_index_active(True)
def tearDown(self): """ Clean up the test """ # disable indexing during import test_utils.set_index_active(False) test_utils.clean_resources_db() test_utils.clean_storage() OBJECT_XML_CACHE.clear() # enable indexing test_utils.set_index_active(True) # update index rebuild_index.Command().handle()
def tearDownClass(cls): """ Clean up the test """ LOGGER.info("finished '{}' tests".format(cls.__name__)) # disable indexing during import test_utils.set_index_active(False) test_utils.clean_resources_db() test_utils.clean_storage() OBJECT_XML_CACHE.clear() # enable indexing test_utils.set_index_active(True) # update index update_index.Command().handle(using=[settings.TEST_MODE_NAME,])
def tearDownClass(cls): """ Clean up the test """ LOGGER.info("finished '{}' tests".format(cls.__name__)) # disable indexing during import test_utils.set_index_active(False) test_utils.clean_resources_db() test_utils.clean_storage() OBJECT_XML_CACHE.clear() # enable indexing test_utils.set_index_active(True) # update index from django.core.management import call_command call_command('rebuild_index', interactive=False, using=TEST_MODE_NAME)
def tearDownClass(cls): test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db() set_index_active(True) LOGGER.info("finished '{}' tests".format(cls.__name__))
def tearDown(self): test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db()
def tearDown(self): """ Removes the storage object instance from the database after testing. """ test_utils.clean_resources_db()
def tearDown(self): """ Clean DB and storage folder after testing. """ test_utils.clean_resources_db() test_utils.clean_storage()
def tearDown(self): test_utils.clean_resources_db()
def tearDown(self): test_utils.clean_resources_db() test_utils.clean_storage() test_utils.clean_user_db() super(ExampleSeleniumTest, self).tearDown()
def tearDown(self): """ Cleans the database after a test. """ test_utils.clean_resources_db() test_utils.clean_storage()
def tearDown(self): """ Removes the storage object instance from the database after testing. """ test_utils.clean_resources_db() test_utils.clean_storage()