def test_predict_with_image_folder(self, project_path: Path) -> None:
        """Test the predict method of the CLI.

        This test uses the path to image folder for predict test.

        Args:
            project_path (Path): Path to temporary project folder.
        """
        # Test with image path
        AnomalibCLI(
            args=[
                "predict",
                "--data",
                f"{project_path}/datasets/visa_pytorch/dummy/test/bad",
                *self._get_common_cli_args(
                    None,
                    project_path,
                ),
                "--ckpt_path",
                f"{project_path}/Padim/MVTecAD/dummy/v0/weights/lightning/model.ckpt",
            ],
        )
        torch.cuda.empty_cache()
Test the predict method of the CLI.

        This test uses the path to image folder for predict test.

        Args:
            project_path (Path): Path to temporary project folder.
        
tests/integration/cli/test_cli.py