class_docstr: * test log_others logs
  * test log_system logs
  * test log_curve logs
class_docstr_tok: ["*","test","log_others","logs","*","test","log_system","logs","*","test","log_curve","logs"]
code: def test_log_metrics(self, experiment):
      logger = self.logger
      trial = self.trials[0]
      result = self.result.copy()
      step = result["training_iteration"]
  
      logger.log_trial_result(1, trial, self.result)
      result_metrics = {
          "metric1": 0.8,
          "metric2": 1,
          "metric3": None,
          "training_iteration": 0,
      }
  
      method = experiment.return_value.log_metrics
      method.assert_any_call(result_metrics, step=step)
  
imports: import unittest
  from unittest.mock import patch
  from ray.air.integrations.comet import CometLoggerCallback
  from collections import namedtuple
label_desc: Use image node_id 3 for calling the LogTrialResultTests obj's underlying member method code with example usage: obj.test_log_metrics(experiment) without return types