code: def test_inference_transform(records, check_attributes_on_component):
      img = open_img(records[0].filepath)
      tfm = tfms.A.Adapter([tfms.A.HorizontalFlip(p=1.0)])
      ds = Dataset.from_images([img], tfm)
  
      tfmed = ds[0]
      assert (tfmed.img == np.array(img)[:, ::-1, :]).all()
      check_attributes_on_component(tfmed)
  
file_path: icevision/tests/transforms/test_albu_transform.py
imports: from icevision.tfms.albumentations.albumentations_adapter import AlbumentationsMasksComponent
  import pytest
  from icevision.all import *
  from albumentations import LongestMaxSize, Normalize, PadIfNeeded
  from icevision.tfms.albumentations.albumentations_helpers import get_size_without_padding, get_transform
label_desc: Use image node_id 3 for calling a global function with example usage: test_inference_transform(records, check_attributes_on_component) without return types