Return a list of sql commands to setup the DB for the fetch tests.
(self)
| 544 | ] |
| 545 | |
| 546 | def _populate(self): |
| 547 | ''' Return a list of sql commands to setup the DB for the fetch |
| 548 | tests. |
| 549 | ''' |
| 550 | populate = [ |
| 551 | "insert into %sbooze values ('%s')" % (self.table_prefix,s) |
| 552 | for s in self.samples |
| 553 | ] |
| 554 | return populate |
| 555 | |
| 556 | def test_fetchmany(self): |
| 557 | con = self._connect() |
no outgoing calls