code: def test_get_image_tags(self) -> None:
      # bulk logic of _get_image_tags is tested in its callers (get_image_name and
      # get_canonical_tag), so we only test the basic cases here
      v = DEFAULT_PYTHON_VERSION
      pv = self.get_python_version(v)
      container = RayDockerContainer(v, "cpu", "ray")
      assert container._get_image_tags() == [
          f"123456-{pv}-cpu",
          "123456-cpu",
          f"123456-{pv}",
          "123456",
          f"nightly-{pv}-cpu",
          "nightly-cpu",
          f"nightly-{pv}",
          "nightly",
      ]
  
file_path: ray/ci/ray_ci/test_ray_docker_container.py
imports: import os
  import sys
  from typing import List
  from unittest import mock
  import pytest
  from ci.ray_ci.builder_container import DEFAULT_PYTHON_VERSION
  from ci.ray_ci.container import _DOCKER_ECR_REPO
  from ci.ray_ci.ray_docker_container import RayDockerContainer
  from ci.ray_ci.test_base import RayCITestBase
  from ci.ray_ci.utils import RAY_VERSION
label_desc: Use image node_id 3 for calling the TestRayDockerContainer obj's underlying member method code with example usage: obj.test_get_image_tags() without return types