code: def test_read_job_id(
      job_id: str, expected: tp.List[tp.Tuple[tp.Union[int, str], ...]]
  ) -> None:
      output = slurm.read_job_id(job_id)
      assert output == [
          tuple(str(x) for x in group) for group in expected
      ]
  
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 20 for calling a global function with example usage: test_read_job_id(job_id, expected) without return types