code: def test_missing_parent_is_400(client):
      try:
          batch = create_batch(client)
          fake_job = aioclient.Job.unsubmitted_job(
              batch._async_batch, 10000
          )
          fake_job = Job(fake_job)
          batch.create_job(
              DOCKER_ROOT_IMAGE,
              command=["echo", "head"],
              parents=[fake_job],
          )
          batch.submit()
      except ValueError as err:
          assert re.search("parents with invalid job ids", str(err))
          return
      assert False, str(batch.debug_info())
  
imports: import asyncio
  import os
  import re
  import secrets
  import pytest
  from aiohttp import web
  from hailtop.batch_client import aioclient
  from hailtop.batch_client.client import BatchClient, Job
  from .utils import DOCKER_ROOT_IMAGE, batch_status_job_counter, create_batch, legacy_batch_status
label_desc: Use image node_id 3 for calling a global function with example usage: test_missing_parent_is_400(client) without return types