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()
Exemple #2
0
 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()
Exemple #3
0
 def tearDown(self):
     database.drop_db()
     super(ApiTestCase, self).tearDown()
Exemple #4
0
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()
Exemple #6
0
def dropdb():
    """Drops database from sqlalchemy models"""
    database.drop_db()
Exemple #7
0
 def tearDown(self):
     database.drop_db()
     self._unmock_lock()
     #shutil.rmtree('/tmp/mocklogs/')
     super(TestEndToEnd, self).tearDown()
Exemple #8
0
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()
Exemple #11
0
 def tearDown(self):
     database.drop_db()
     super(TestPollSwitch, self).tearDown()
Exemple #12
0
 def tearDown(self):
     database.drop_db()
     super(AuthTestCase, self).tearDown()
 def tearDown(self):
     super(TestFileReader, self).tearDown()
     database.drop_db()
 def tearDown(self):
     database.drop_db()
     super(TestPollSwitch, self).tearDown()
Exemple #15
0
 def tearDown(self):
     database.drop_db()
     super(TestModel, self).tearDown()
Exemple #16
0
def dropdb():
    "Creates database tables from sqlalchemy models"
    database.drop_db()
Exemple #17
0
 def tearDown(self):
     super(TestFileReader, self).tearDown()
     database.drop_db()