code: def test_lambda_object_with_name_happycase1():
      lambda_obj = lambda_helper.Lambda(
          function_name=FUNCTION_NAME,
          execution_role_arn=EXECUTION_ROLE,
          script=SCRIPT,
          handler=HANDLER,
          session=sagemaker_session,
      )
  
      assert lambda_obj.function_name == FUNCTION_NAME
      assert lambda_obj.execution_role_arn == EXECUTION_ROLE
      assert lambda_obj.script == SCRIPT
      assert lambda_obj.handler == HANDLER
      assert lambda_obj.timeout == 120
      assert lambda_obj.memory_size == 128
      assert lambda_obj.runtime == "python3.8"
  
imports: from __future__ import print_function, absolute_import
  import os
  import pytest
  from mock import Mock, patch
  from botocore.exceptions import ClientError
  from sagemaker import lambda_helper
label_desc: Use image node_id 4 for calling a global function with example usage: test_lambda_object_with_name_happycase1() without return types