def test_no_augmentations() -> None:
        """Test that the model_transform resize is added to the augmentations if augmentations is None."""
        dataset = DummyDataset()
        model_transform = Resize((224, 224))

        AnomalibDataModule._update_subset_augmentations(dataset, augmentations=None, model_transform=model_transform)  # noqa: SLF001
        assert dataset.augmentations == model_transform
Test that the model_transform resize is added to the augmentations if augmentations is None.
tests/unit/data/datamodule/test_update_augmentations.py