code: def test_step_decorator_invalid_function_args(
      mock_job_settings, args, kwargs, error_message
  ):
      @step
      def decorated_function(a, b, c=1, *, d, e, f=3):
          return a * b * c * d * e * f
  
      if error_message:
          with pytest.raises(TypeError) as e:
              decorated_function(*args, **kwargs)
          assert error_message in str(e.value)
      else:
          try:
              decorated_function(*args, **kwargs)
          except Exception as ex:
              pytest.fail("Unexpected Exception: " + str(ex))
  
imports: from __future__ import absolute_import
  from copy import deepcopy
  import pytest
  import re
  from mock import patch, Mock, ANY
  from typing import List, Tuple
  from mock.mock import MagicMock
  from sagemaker.workflow.parameters import ParameterInteger
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.workflow.functions import Join
  from sagemaker.workflow.step_outputs import get_step
  from sagemaker.workflow.function_step import DelayedReturn, step
  from sagemaker.workflow.retry import StepRetryPolicy, StepExceptionTypeEnum
  from sagemaker.workflow.pipeline_context import _PipelineConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
label_desc: Use image node_id 5 for calling a global function with example usage: test_step_decorator_invalid_function_args(mock_job_settings, args, kwargs, error_message) and returns: unknown