code: def test_json_get_expressions_with_incorrect_s3uri_property_file_inputs():
      with pytest.raises(ValueError) as err:
          JsonGet(
              step_name="step-name",
              property_file="my-property-file",
              s3_uri=Join(
                  on="/", values=["value1", "value2", "value3"]
              ),
              json_path="my-json-path",
          ).expr
  
      assert (
          "Please specify either a property file or s3 uri as an input, "
          "but not both." in str(err.value)
      )
  
      with pytest.raises(ValueError) as err:
          JsonGet(
              step_name="step-name",
              json_path="my-json-path",
          ).expr
  
      assert (
          "Missing s3uri or property file as a required input to JsonGet."
          in str(err.value)
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/workflow/test_functions.py
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.workflow.functions import Join, JsonGet
  from sagemaker.workflow.parameters import ParameterFloat, ParameterInteger, ParameterString
  from sagemaker.workflow.properties import Properties, PropertyFile
label_desc: Use image node_id 8 for calling a global function with example usage: test_json_get_expressions_with_incorrect_s3uri_property_file_inputs() without return types