code: def test_consistent_setting_across_function_steps(
      sagemaker_session_mock,
  ):
      @step(
          name="func_1",
          instance_type="ml.m5.large",
          image_uri="test_image_uri",
      )
      def func_1():
          return 1
  
      @step(
          name="func_2",
          instance_type="ml.m5.large",
          image_uri="test_image_uri",
      )
      def func_2():
          return 1
  
      step_output_1 = func_1()
      step_output_2 = func_2()
  
      compiler = StepsCompiler(
          pipeline_name="test-pipeline",
          sagemaker_session=sagemaker_session_mock,
          pipeline_definition_config=PipelineDefinitionConfig(False),
          steps=[step_output_1, step_output_2],
      )
  
      compiled_steps = compiler.build()
  
      assert len(compiled_steps) == 2
      assert (
          compiled_steps[0].arguments["Environment"]
          == compiled_steps[1].arguments["Environment"]
      )
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.workflow.steps import Step, StepTypeEnum
  from sagemaker.workflow.function_step import step
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.condition_step import ConditionStep
  from sagemaker.workflow.conditions import ConditionEquals
  from sagemaker.workflow.properties import Properties
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from sagemaker.workflow._steps_compiler import StepsCompiler
  from sagemaker.workflow.utilities import load_step_compilation_context, list_to_request
label_desc: Use image node_id 16 for calling a global function with example usage: test_consistent_setting_across_function_steps(sagemaker_session_mock) and returns: int, int