code: def test_lambda_object_no_handler_error():
      with pytest.raises(ValueError) as error:
          lambda_helper.Lambda(
              function_name=FUNCTION_NAME,
              execution_role_arn=EXECUTION_ROLE,
              zipped_code_dir=ZIPPED_CODE_DIR,
              s3_bucket=S3_BUCKET,
              session=sagemaker_session,
          )
      assert "Lambda handler must be provided." in str(error)
  
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 10 for calling a global function with example usage: test_lambda_object_no_handler_error() without return types