async def METHOD_NAME(context):
    env = get_env(
        {
            "AWS_LAMBDA_FUNCTION_NAME": "handler",
            "DD_LAMBDA_HANDLER": "tests.contrib.aws_lambda.handlers.handler",
        }
    )
    with override_env(env):
        patch()
        result = datadog(handler)({}, context())
        assert result == {"success": True}