Return a list of sql commands to setup the DB for the fetch tests.
(self)
| 528 | ] |
| 529 | |
| 530 | def _populate(self): |
| 531 | ''' Return a list of sql commands to setup the DB for the fetch |
| 532 | tests. |
| 533 | ''' |
| 534 | populate = [ |
| 535 | "insert into %sbooze values ('%s')" % (self.table_prefix,s) |
| 536 | for s in self.samples |
| 537 | ] |
| 538 | return populate |
| 539 | |
| 540 | def test_fetchmany(self): |
| 541 | con = self._connect() |
no outgoing calls