code: def test_model_explainability_monitor_logs_failure(
      model_explainability_monitor, sagemaker_session
  ):
      sagemaker_session.list_monitoring_executions = MagicMock(
          return_value=MONITORING_EXECUTIONS_EMPTY
      )
      try:
          model_explainability_monitor.get_latest_execution_logs()
      except ValueError as ve:
          assert "No execution jobs were kicked off." in str(ve)
      sagemaker_session.list_monitoring_executions = MagicMock(
          return_value=MONITORING_EXECUTIONS_NO_PROCESSING_JOB
      )
      try:
          model_explainability_monitor.get_latest_execution_logs()
      except ValueError as ve:
          assert (
              "Processing Job did not run for the last execution"
              in str(ve)
          )
  
imports: from __future__ import print_function, absolute_import
  import copy
  import json
  import time
  from mock import patch, Mock, MagicMock
  import pytest
  from sagemaker.clarify import BiasConfig, DataConfig, ModelConfig, SHAPConfig, ModelPredictedLabelConfig
  from sagemaker.model_monitor import BiasAnalysisConfig, Constraints, CronExpressionGenerator, EndpointInput, BatchTransformInput, ExplainabilityAnalysisConfig, ModelBiasMonitor, ModelExplainabilityMonitor, MonitoringExecution, NetworkConfig
  from sagemaker.model_monitor.clarify_model_monitoring import ClarifyModelMonitor, ClarifyBaseliningJob, ClarifyMonitoringExecution
  from sagemaker.model_monitor.dataset_format import MonitoringDatasetFormat
label_desc: Use image node_id 45 for calling a global function with example usage: test_model_explainability_monitor_logs_failure(model_explainability_monitor, sagemaker_session) without return types