code: def test_mocked_missing_state(tmp_path: Path) -> None:
      with mocked_slurm() as mock:
          mock.set_job_state("12", "       ")
          job: slurm.SlurmJob[None] = slurm.SlurmJob(tmp_path, "12")
          assert job.state == "UNKNOWN"
          job._interrupt(timeout=False)
  
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 3 for calling a global function with example usage: test_mocked_missing_state(tmp_path) without return types