def tearDownClass(cls): if dbutil.has_db(cls.dbinfo): dbutil.drop_db(cls.dbinfo)
def test02CreateDB(self): dbutil.create_db(self.dbinfo) has = dbutil.has_db(self.dbinfo) self.assertTrue(has)
def test10DropDB(self): dbutil.drop_db(self.dbinfo) has = dbutil.has_db(self.dbinfo) self.assertFalse(has)
def test01HasDB(self): has = dbutil.has_db(self.dbinfo) self.assertFalse(has)