code: def test_trial_component_name(viz, sagemaker_session):
      name = "tc-name"
  
      sagemaker_session.sagemaker_client.describe_trial_component.return_value = {
          "TrialComponentArn": "tc-arn",
      }
  
      get_list_associations_side_effect(sagemaker_session)
  
      df = viz.show(trial_component_name=name)
  
      sagemaker_session.sagemaker_client.describe_trial_component.assert_called_with(
          TrialComponentName=name,
      )
  
      assert_list_associations_mock_calls(sagemaker_session)
  
      pd.testing.assert_frame_equal(get_expected_dataframe(), df)
  
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 3 for calling a global function with example usage: test_trial_component_name(viz, sagemaker_session) without return types