docstr: Test various retrieval utilities on a list of split Artifact.
docstr_tok: ["Test","various","retrieval","utilities","on","a","list","of","split","Artifact","."]
code: def testGetFromSplits(self):
      """Test various retrieval utilities on a list of split Artifact."""
      artifacts = [standard_artifacts.Examples()]
      artifacts[0].uri = "/tmp"
      artifacts[
          0
      ].split_names = standard_artifact_utils.encode_split_names(
          ["train", "eval"]
      )
  
      self.assertEqual(artifacts[0].split_names, '["train", "eval"]')
  
      self.assertEqual(
          "/tmp/Split-train",
          standard_artifact_utils.get_split_uri(artifacts, "train"),
      )
      self.assertEqual(
          "/tmp/Split-eval",
          standard_artifact_utils.get_split_uri(artifacts, "eval"),
      )
  
file_path: tfx/tfx/types/standard_artifact_utils_test.py
imports: import tensorflow
  from tfx.types import artifact
  from tfx.types import standard_artifact_utils
  from tfx.types import standard_artifacts
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 2 for calling the ArtifactUtilsTest obj's underlying member method code with example usage: obj.testGetFromSplits() without return types