code: def test_slurm_node_list_online_documentation() -> None:
      with with_slurm_job_nodelist(
          "compute-b24-[1-3,5-9],compute-b25-[1,4,8]"
      ) as env:
          assert [
              "compute-b24-1",
              "compute-b24-2",
              "compute-b24-3",
              "compute-b24-5",
              "compute-b24-6",
              "compute-b24-7",
              "compute-b24-8",
              "compute-b24-9",
              "compute-b25-1",
              "compute-b25-4",
              "compute-b25-8",
          ] == env.hostnames
  
imports: import contextlib
  import os
  import signal
  import subprocess
  import typing
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  import submitit
  from ..None import helpers
  from ..core import job_environment, submission, test_core, utils
  from ..core.core import Job
  from .None import slurm
label_desc: Use image node_id 28 for calling a global function with example usage: test_slurm_node_list_online_documentation() without return types