code: def run_train_test(config):
      model = get_model(config)
      datamodule = get_datamodule(config)
      callbacks = get_callbacks(config)
  
      trainer = Trainer(**config.trainer, callbacks=callbacks)
      trainer.fit(model=model, datamodule=datamodule)
      results = trainer.test(model=model, datamodule=datamodule)
      return results
  
file_path: anomalib/tests/pre_merge/utils/callbacks/normalization_callback/test_normalization_callback.py
imports: from pytorch_lightning import Trainer, seed_everything
  from anomalib.config import get_configurable_parameters
  from anomalib.data import get_datamodule
  from anomalib.models import get_model
  from anomalib.utils.callbacks import get_callbacks
  from tests.helpers.dataset import TestDataset, get_dataset_path
label_desc: Use image node_id 1 for calling a global function with example usage: run_train_test(config) and returns: results