(self)
| 98 | self.assertEqual(len(list(result)), n) |
| 99 | |
| 100 | def testCommit(self): |
| 101 | t = self.db.transaction() |
| 102 | self.db.insert("person", False, name="user1") |
| 103 | t.commit() |
| 104 | |
| 105 | t = self.db.transaction() |
| 106 | self.db.insert("person", False, name="user2") |
| 107 | self.db.insert("person", False, name="user3") |
| 108 | t.commit() |
| 109 | |
| 110 | self.assertRows(3) |
| 111 | |
| 112 | def testRollback(self): |
| 113 | t = self.db.transaction() |
nothing calls this directly
no test coverage detected