code: def test_hex_to_b64_id_bytes(data):
      hex_bytes = data.hex().encode("ascii")
      assert hashutil.hex_to_b64_id(hex_bytes) == base64.b64encode(
          data
      ).decode("ascii")
  
file_path: wandb/tests/pytest_tests/unit_tests/test_lib/test_hashutil.py
imports: import base64
  import hashlib
  from hypothesis import given
  from hypothesis import strategies
  from wandb.sdk.lib import hashutil
label_desc: Use image node_id 3 for calling a global function with example usage: test_hex_to_b64_id_bytes(data) without return types