'Connect to the database, perform a query which raises an error'

def __ConnectAndGenerateError(self):

    connection = self.pool.acquire()
    cursor = connection.cursor()
    self.failUnlessRaises(cx_Oracle.DatabaseError, cursor.execute, 'select    1    /    0    from    dual')
