@testing.requires.independent_connections
def test_commit_inactive(self):
    with testing.db.connect() as conn:
        conn.begin()
        conn.invalidate()
        assert_raises_message(exc.InvalidRequestError, "Can't reconnect until", conn.commit)
@testing.requires.independent_connections
def test_commit_inactive(self):
    with testing.db.connect() as conn:
        conn.begin()
        conn.invalidate()
        assert_raises_message(exc.InvalidRequestError, "Can't reconnect until", conn.commit)