code: def log_before_after():
      log.info("starting test")
      yield
      log.info("ending test")
  
file_path: hail/batch/test/conftest.py
imports: import asyncio
  import hashlib
  import logging
  import os
  import pytest
  from hailtop.config import get_remote_tmpdir
label_desc: Use image node_id 2 for calling a global function with example usage: log_before_after() without return types