code: def test_whenOnTestSuccess_givenAMLFlowCallback_thenHasSuccessTerminatedStatus(
      self,
  ):
      with patch(
          "poutyne.framework.mlflow_logger.MlflowClient"
      ) as ml_flow_client_patch:
          ml_flow_client_patch.return_value.create_experiment = (
              self.experiment_mock
          )
          ml_flow_client_patch.return_value.create_run = self.run_mock
  
          mlflow_logger = MLFlowLogger(self.a_experiment_name)
          mlflow_logger.set_params({"epochs": self.num_epochs})
          mlflow_logger.on_train_end(self.a_log)
          mlflow_logger.on_test_begin(
              {}
          )  # since we change status at the start of testing
          mlflow_logger.on_test_end(self.a_log)
  
          ml_flow_client_calls = [
              call().set_terminated(self.a_run_id, status="FINISHED")
          ]
          ml_flow_client_patch.assert_has_calls(ml_flow_client_calls)
  
imports: import os
  from typing import Dict, List, Mapping, Sequence
  from unittest import TestCase, skipIf
  from unittest.mock import MagicMock, call, patch
  import git
  import torch
  import torch.nn
  from poutyne import Model
  from poutyne.framework.callbacks.mlflow_logger import MLFlowLogger, _get_git_commit
  from tests.framework.tools import SomeDataGeneratorWithLen
label_desc: Use image node_id 17 for calling the MLFlowLoggerTest obj's underlying member method code with example usage: obj.test_whenOnTestSuccess_givenAMLFlowCallback_thenHasSuccessTerminatedStatus() without return types