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

def testBindInOutSetInputSizesByInteger(self):

    vars = self.cursor.setinputsizes(value=30)
    self.cursor.execute(u"\n                                                                begin\n                                                                        :value    :=    :value    ||    '    TSI    (I)';\n                                                                end;", value=u'InVal')
    self.failUnlessEqual(vars['value'].getvalue(), u'InVal    TSI    (I)')
