class_docstr: This tests whether the entrypoints run without errors without quantitative measure of the outputs.
docstr: Test lightning_inferenc.py
docstr_tok: ["Test","lightning_inferenc.py"]
code: def test_lightning_inference(
      self,
      get_functions,
      get_config,
      project_path,
      get_dummy_inference_image,
  ):
      """Test lightning_inferenc.py"""
      get_parser, infer = get_functions
      with patch(
          "tools.inference.lightning_inference.get_configurable_parameters",
          side_effect=get_config,
      ):
          arguments = get_parser().parse_args(
              [
                  "--config",
                  "src/anomalib/models/padim/config.yaml",
                  "--weights",
                  project_path + "/weights/lightning/model.ckpt",
                  "--input",
                  get_dummy_inference_image,
                  "--output",
                  project_path + "/output",
              ]
          )
          infer(arguments)
  
file_path: anomalib/tests/pre_merge/tools/test_lightning_entrypoint.py
imports: from __future__ import annotations
  import sys
  from importlib.util import find_spec
  import pytest
  from unittest.mock import patch
label_desc: Use image node_id 2 for calling the TestLightningInferenceEntrypoint obj's underlying member method code with example usage: obj.test_lightning_inference(get_functions, get_config, project_path, get_dummy_inference_image) without return types