code: def test_fake_executor(tmp_path: Path) -> None:
      executor = FakeExecutor(folder=tmp_path)
      job = executor.submit(_three_time, 8)
      assert job.job_id == "12"
      assert job.paths.submission_file.exists()
      with utils.environment_variables(
          _TEST_CLUSTER_="slurm", SLURM_JOB_ID=str(job.job_id)
      ):
          submission.process_job(folder=job.paths.folder)
      assert job.result() == 24
  
imports: import contextlib
  import pickle
  import subprocess
  import sys
  import time
  import typing
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  from .None import core, submission, utils
label_desc: Use image node_id 5 for calling a global function with example usage: test_fake_executor(tmp_path) without return types