'test binding (and fetching) a rowid'

def testBindAndFetchRowid(self):

    self.cursor.execute(u'\n                                                                select    rowid\n                                                                from    TestStrings\n                                                                where    IntCol    =    3')
    (rowid,) = self.cursor.fetchone()
    self.cursor.execute(u'\n                                                                select    *\n                                                                from    TestStrings\n                                                                where    rowid    =    :value', value=rowid)
    self.failUnlessEqual(self.cursor.fetchall(), [self.dataByKey[3]])
