code: def test_pytorch_test_metrics_logged(pytorch_model_tests):
      _, run = pytorch_model_tests
      data = run.data
      assert "test_loss" in data.metrics
      assert "test_acc" in data.metrics
      # this is logged through SummaryWriter
      assert "plain_loss" not in data.metrics
  
imports: import pytest
  import pytorch_lightning
  import torch
  from iris import IrisClassification, IrisClassificationMultiOptimizer, IrisClassificationWithoutValidation
  from iris_data_module import IrisDataModule, IrisDataModuleWithoutValidation
  from packaging.version import Version
  from pytorch_lightning.callbacks import ModelCheckpoint
  from pytorch_lightning.callbacks.early_stopping import EarlyStopping
  import mlflow
  import mlflow.pytorch
  from mlflow import MlflowClient
  from mlflow.exceptions import MlflowException
  from mlflow.pytorch._lightning_autolog import _get_optimizer_name
  from mlflow.utils.file_utils import TempDir
label_desc: Use image node_id 22 for calling a global function with example usage: test_pytorch_test_metrics_logged(pytorch_model_tests) without return types