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