code: def test_epoch_metrics_registered_with_unique_name(self):
      names = do_register_metric_class(
          SomeMetricName,
          names=["some1", "some2"],
          unique_name="unique_some",
      )
      model = Model(
          self.pytorch_network,
          self.optimizer,
          self.loss_function,
          epoch_metrics=["some2", ("something", "some1")],
      )
      self._test_history(
          model, ["unique_some", "something"], [0.0, 0.0]
      )
      unregister_metric_class(names)
  
imports: import os
  import unittest
  from unittest import skipIf
  from unittest.mock import ANY
  import numpy
  import torch
  import torch.nn
  import torchmetrics
  from poutyne import Metric, Model, do_register_metric_class, rename_doubles, unregister_metric_class
label_desc: Use image node_id 21 for calling the MetricsModelIntegrationTest obj's underlying member method code with example usage: obj.test_epoch_metrics_registered_with_unique_name() without return types