'test binding in/out with set input sizes defined (by type)'

def testBindInOutSetInputSizesByType(self):

    vars = self.cursor.setinputsizes(value=cx_Oracle.NCHAR)
    self.cursor.execute("\n                                                                begin\n                                                                        :value    :=    :value    ||    unistr('    TSI    \\3042');\n                                                                end;", value=u'InVal    \u3041')
    self.failUnlessEqual(vars['value'].getvalue(), u'InVal    \u3041    TSI    \u3042')
