def test_create_table_err(self): dbUtil.create_table(self.conn, 'test_table')
def test_delete_table(self): expected = True dbUtil.create_table(self.conn, 'test_table_for_delete_table') actual = dbUtil.delete_table(self.conn, 'test_table_for_delete_table') eq_(actual, expected)
def test_create_table(self): expected = True actual = dbUtil.create_table(self.conn, 'case_table') eq_(actual, expected) dbUtil.delete_table(self.conn, 'case_table')
def setup(self): self.conn = dbUtil.connect() dbUtil.create_database(self.conn, 'test_database') self.conn.select_db('test_database') dbUtil.create_table(self.conn, 'test_table')