Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-gerschwitz committed Feb 4, 2025
1 parent e31235f commit c38c85f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/sagemaker/monitor/test_model_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -1142,12 +1142,12 @@ def _test_data_quality_monitor_update_schedule(data_quality_monitor, sagemaker_s
sagemaker_session.sagemaker_client.describe_data_quality_job_definition = MagicMock()
sagemaker_session.sagemaker_client.create_data_quality_job_definition = MagicMock()

# Test updating monitoring schedule with schedule_cron_expression set to NOW
# Test updating monitoring schedule with schedule_cron_expression set to NOW
sagemaker_session.sagemaker_client.update_monitoring_schedule = Mock()
data_quality_monitor.update_monitoring_schedule(
data_analysis_start_time="-PT24H",
data_analysis_end_time="-PT0H",
schedule_cron_expression=CRON_NOW
schedule_cron_expression=CRON_NOW,
)

sagemaker_session.sagemaker_client.update_monitoring_schedule.assert_called_once_with(
Expand All @@ -1159,7 +1159,7 @@ def _test_data_quality_monitor_update_schedule(data_quality_monitor, sagemaker_s
"ScheduleExpression": CRON_NOW,
"DataAnalysisStartTime": "-PT24H",
"DataAnalysisEndTime": "-PT0H",
}
},
},
)

Expand Down

0 comments on commit c38c85f

Please sign in to comment.