def METHOD_NAME(self, date_mock):
    date_mock.today.return_value = FAKE_TODAY
    self.databaseinfra.maintenance_window = 3
    self.databaseinfra.maintenance_day = 5
    self.databaseinfra.save()
    check_ssl_expire_at()
    task_schedule = TaskSchedule.objects.get(database=self.database)
    self.assertEqual(
        task_schedule.scheduled_for.weekday(),
        4
    )
    self.assertEqual(
        task_schedule.scheduled_for.date().strftime("%Y-%m-%d"),
        "2019-12-27"
    )
    self.assertEqual(task_schedule.scheduled_for.hour, 3)