@testing.requires.two_phase_transactions
def test_reset_via_agent_begin_twophase(self):
    with testing.db.connect() as connection:
        trans = connection.begin_twophase()
        assert (connection.connection._reset_agent is trans)
@testing.requires.two_phase_transactions
def test_reset_via_agent_begin_twophase(self):
    with testing.db.connect() as connection:
        trans = connection.begin_twophase()
        assert (connection.connection._reset_agent is trans)