def test_existing_image_file(dataset_path: Path) -> None:
        """Test ``get_image_filenames`` returns the correct path for an existing image file."""
        image_path = dataset_path / "mvtecad/dummy/train/good/000.png"
        image_filenames = get_image_filenames(image_path)
        assert image_filenames == [image_path.resolve()]
Test ``get_image_filenames`` returns the correct path for an existing image file.
tests/unit/data/utils/test_image.py