(self)
| 79 | con.close() |
| 80 | |
| 81 | def test_tpc_commit_with_prepare(self): |
| 82 | con = self.connect() |
| 83 | try: |
| 84 | xid = self.make_xid(con) |
| 85 | con.tpc_begin(xid) |
| 86 | cursor = con.cursor() |
| 87 | cursor.execute("SELECT 1") |
| 88 | con.tpc_prepare() |
| 89 | con.tpc_commit() |
| 90 | finally: |
| 91 | con.close() |
| 92 | |
| 93 | def test_tpc_rollback_with_prepare(self): |
| 94 | con = self.connect() |
nothing calls this directly
no test coverage detected