Verifies that creating a connection in autocommit mode works. 2.5.3 introduced a regression so that these could no longer be created.
(self)
| 223 | cur = con.cursor() |
| 224 | |
| 225 | def test_auto_commit(self): |
| 226 | """ |
| 227 | Verifies that creating a connection in autocommit mode works. |
| 228 | 2.5.3 introduced a regression so that these could no longer |
| 229 | be created. |
| 230 | """ |
| 231 | with memory_database(isolation_level=None) as con: |
| 232 | self.assertIsNone(con.isolation_level) |
| 233 | self.assertFalse(con.in_transaction) |
| 234 | |
| 235 | def test_pragma_autocommit(self): |
| 236 | """ |
nothing calls this directly
no test coverage detected