'test binding in a cursor'

def testBindCursor(self):

    cursor = self.connection.cursor()
    self.failUnlessEqual(cursor.description, None)
    self.cursor.execute("\n                                                                begin\n                                                                        open    :cursor    for    select    'X'    StringValue    from    dual;\n                                                                end;", cursor=cursor)
    self.failUnlessEqual(cursor.description, [('STRINGVALUE', cx_Oracle.FIXED_CHAR, 1, 1, 0, 0, 1)])
    self.failUnlessEqual(cursor.fetchall(), [('X',)])
