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