code: def test_hash_file():
      with tempfile.NamedTemporaryFile() as tmp:
          tmp.write("hashme".encode())
          hash = hash_file(tmp.name)
          assert hash == "d41d8cd98f00b204e9800998ecf8427e"
  
imports: from __future__ import absolute_import
  import tempfile
  from sagemaker.workflow.pipeline_context import _PipelineConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from sagemaker.workflow.utilities import hash_file, hash_files_or_dirs, trim_request_dict, _collect_parameters
  from pathlib import Path
  import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: test_hash_file() without return types