(self)
| 318 | is_false(s.in_transaction()) |
| 319 | |
| 320 | def test_autobegin_begin_method(self): |
| 321 | s = Session(testing.db) |
| 322 | |
| 323 | s.begin() # OK |
| 324 | |
| 325 | assert_raises_message( |
| 326 | exc.InvalidRequestError, |
| 327 | "A transaction is already begun on this Session.", |
| 328 | s.begin, |
| 329 | ) |
| 330 | |
| 331 | @testing.combinations((True,), (False,), argnames="begin") |
| 332 | @testing.combinations((True,), (False,), argnames="expire_on_commit") |
nothing calls this directly
no test coverage detected