code: def client():
      client = BatchClient("test")
      yield client
      client.close()
  
imports: import random
  import pytest
  from hailtop.batch_client.client import BatchClient
  from .utils import batch_status_job_counter, create_batch, legacy_batch_status
label_desc: Use image node_id 1 for calling a global function with example usage: client() without return types