(self)
| 91 | con.close() |
| 92 | |
| 93 | def test_tpc_rollback_with_prepare(self): |
| 94 | con = self.connect() |
| 95 | try: |
| 96 | xid = self.make_xid(con) |
| 97 | con.tpc_begin(xid) |
| 98 | cursor = con.cursor() |
| 99 | cursor.execute("SELECT 1") |
| 100 | con.tpc_prepare() |
| 101 | con.tpc_rollback() |
| 102 | finally: |
| 103 | con.close() |
| 104 | |
| 105 | def test_tpc_begin_in_transaction_fails(self): |
| 106 | con = self.connect() |
nothing calls this directly
no test coverage detected