def test_no_model_transforms() -> None:
        """Test that the augmentations are added but not modified if model_transform is None."""
        dataset = DummyDataset()
        augmentations = Compose([RandomHorizontalFlip(), RandomVerticalFlip()])

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