def METHOD_NAME(self, mock_patch_course_exams):
    """
    Make sure the feature flag is honored
    """
    BlockFactory.create(
        parent=self.chapter,
        category='sequential',
        display_name='Test Proctored Exam',
        graded=True,
        is_time_limited=True,
        default_time_limit_minutes=10,
        is_proctored_enabled=True,
        hide_after_due=False,
    )
    listen_for_course_publish(self, self.course.id)
    mock_patch_course_exams.assert_not_called()