code: def test_training_job_arns(
      static_endpoint_context,
  ):
      training_job_arns = static_endpoint_context.training_job_arns()
  
      assert len(training_job_arns) > 0
      for arn in training_job_arns:
          assert "training-job" in arn
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/lineage/test_endpoint_context.py
imports: from __future__ import absolute_import
  import time
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_training_job_arns(static_endpoint_context) without return types