code: def test_result_from_bazel_event() -> None:
      result = TestResult.from_bazel_event(
          {
              "testResult": {"status": "PASSED"},
          }
      )
      assert result.is_passing()
      result = TestResult.from_bazel_event(
          {
              "testResult": {"status": "FAILED"},
          }
      )
      assert result.is_failing()
  
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 9 for calling a global function with example usage: test_result_from_bazel_event() without return types