def testBindInOutVarDirectSet(self):
        var = self.cursor.var(cx_Oracle.STRING)
        var.setvalue(0, "InVal")
        self.cursor.execute("""
                begin
                  :p_Value := :p_Value || ' TSI (VAR)';
                end;""",
                p_Value = var)
        self.failUnlessEqual(var.getvalue(), "InVal TSI (VAR)")
test binding in/out with cursor.var() method
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cx_Oracle-5.1.2/test/StringVar.py/TestStringVar.testBindInOutVarDirectSet