code: def test_LineageResourceHelper(sagemaker_session):
      # check if LineageResourceHelper works properly
      lineage_resource_helper = LineageResourceHelper(
          sagemaker_session=sagemaker_session
      )
      try:
          art1 = lineage_resource_helper.create_artifact(
              artifact_name=name()
          )
          art2 = lineage_resource_helper.create_artifact(
              artifact_name=name()
          )
          lineage_resource_helper.create_association(
              source_arn=art1, dest_arn=art2
          )
      except Exception as e:
          print(e)
          assert False
      finally:
          lineage_resource_helper.clean_all()
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/lineage/test_lineage_visualize.py
imports: from __future__ import absolute_import
  import time
  import os
  import re
  import pytest
  import sagemaker.lineage.query
  from sagemaker.lineage.query import LineageQueryDirectionEnum
  from tests.integ.sagemaker.lineage.helpers import name, LineageResourceHelper
label_desc: Use image node_id 1 for calling a global function with example usage: test_LineageResourceHelper(sagemaker_session) without return types