'test binding in a cursor from a package'

def testBindCursorInPackage(self):

    cursor = self.connection.cursor()
    self.failUnlessEqual(cursor.description, None)
    self.cursor.callproc(u'pkg_TestOutCursors.TestOutCursor', (2, cursor))
    self.failUnlessEqual(cursor.description, [('INTCOL', cx_Oracle.NUMBER, 10, 22, 9, 0, 0), ('STRINGCOL', cx_Oracle.STRING, 20, 20, 0, 0, 0)])
    self.failUnlessEqual(cursor.fetchall(), [(1, 'String    1'), (2, 'String    2')])
