def tearDown(self): """test teardown.""" database.drop_db() self._unmock_lock() shutil.rmtree = self.rmtree_backup_ os.system = self.system_backup_ self._unmock_setting() super(TestEndToEnd, self).tearDown()
def tearDown(self): database.drop_db() super(ApiTestCase, self).tearDown()
def dropdb(): "Drops database from sqlalchemy models" database.drop_db()
def tearDown(self): flags.OPTIONS.logfile = self.backup_logfile logsetting.init() database.drop_db() super(TestEndToEnd, self).tearDown()
def dropdb(): """Drops database from sqlalchemy models""" database.drop_db()
def tearDown(self): database.drop_db() self._unmock_lock() #shutil.rmtree('/tmp/mocklogs/') super(TestEndToEnd, self).tearDown()
def dropdb(): "Creates database tables from sqlalchemy models" database.drop_db()
def tearDown(self): database.drop_db() super(TestModel, self).tearDown()
def tearDown(self): super(TestAdapterMatcher, self).tearDown() database.drop_db()
def tearDown(self): database.drop_db() super(TestPollSwitch, self).tearDown()
def tearDown(self): database.drop_db() super(AuthTestCase, self).tearDown()
def tearDown(self): super(TestFileReader, self).tearDown() database.drop_db()