code: def test_local_transform_job_init(sagemaker_local_session):
      job = sagemaker.local.entities._LocalTransformJob(
          "my-transform-job", "some-model", sagemaker_local_session
      )
      assert job.name == "my-transform-job"
      assert (
          job.state
          == sagemaker.local.entities._LocalTransformJob._CREATING
      )
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import patch, Mock
  from botocore.exceptions import ClientError
  import sagemaker.local
  from sagemaker.workflow.parameters import ParameterString
  from sagemaker.workflow.pipeline import Pipeline
  from sagemaker.workflow.lambda_step import LambdaStep
  from tests.unit.sagemaker.workflow.helpers import CustomStep
label_desc: Use image node_id 2 for calling a global function with example usage: test_local_transform_job_init(sagemaker_local_session) without return types