async def METHOD_NAME(func, *args, **kwargs):
    def raise_for_status(response, deserialized, headers):
        response.http_response._internal_response.raise_for_status()
    try:
        http_response = await func(*args, cls=raise_for_status, **kwargs)
    except Exception as err:
        print(err.response.text())
        pytest.fail()