code: def test_friendly_name_short_uri(viz, sagemaker_session):
      uri = "s3://f-069083975568/train.txt"
      arn = "test_arn"
      sagemaker_session.sagemaker_client.describe_artifact.return_value = {
          "Source": {"SourceUri": uri, "SourceTypes": ""}
      }
      actual_name = viz._get_friendly_name(
          name=None, arn=arn, entity_type="artifact"
      )
      assert uri == actual_name
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/lineage/test_visualizer.py
imports: from __future__ import absolute_import
  import unittest.mock
  import pandas
  from collections import OrderedDict
label_desc: Use image node_id 1 for calling a global function with example usage: test_friendly_name_short_uri(viz, sagemaker_session) without return types