'test binding a different variable on second execution'

def testBindDifferentVar(self):

    retval_1 = self.cursor.var(cx_Oracle.STRING, 30)
    retval_2 = self.cursor.var(cx_Oracle.STRING, 30)
    self.cursor.execute(u"begin    :retval    :=    'Called';    end;", retval=retval_1)
    self.failUnlessEqual(retval_1.getvalue(), u'Called')
    self.cursor.execute(u"begin    :retval    :=    'Called';    end;", retval=retval_2)
    self.failUnlessEqual(retval_2.getvalue(), u'Called')
