Esempio n. 1
0
 def tearDownClass(cls):
     if dbutil.has_db(cls.dbinfo):
         dbutil.drop_db(cls.dbinfo)
Esempio n. 2
0
 def test02CreateDB(self):
     dbutil.create_db(self.dbinfo)
     has = dbutil.has_db(self.dbinfo)
     self.assertTrue(has)
Esempio n. 3
0
 def test10DropDB(self):
     dbutil.drop_db(self.dbinfo)
     has = dbutil.has_db(self.dbinfo)
     self.assertFalse(has)
Esempio n. 4
0
 def test01HasDB(self):
     has = dbutil.has_db(self.dbinfo)
     self.assertFalse(has)