code: def test_from_bazel_event() -> None:
      test = Test.from_bazel_event(
          {
              "id": {"testResult": {"label": "//ray/ci:test"}},
          },
          "ci",
      )
      assert (
          test.get_name()
          == f"{platform.system().lower()}://ray/ci:test"
      )
      assert test.get_oncall() == "ci"
  
imports: import json
  import sys
  import os
  import platform
  from unittest import mock
  import boto3
  import pytest
  from unittest.mock import patch
  from ray_release.bazel import bazel_runfile
  from ray_release.configs.global_config import init_global_config, get_global_config
  from ray_release.test import Test, TestResult, TestState, _convert_env_list_to_dict, DATAPLANE_ECR_REPO, DATAPLANE_ECR_ML_REPO
label_desc: Use image node_id 10 for calling a global function with example usage: test_from_bazel_event() without return types