'Disabling the dynamic upgrade deadline functionality should result in the verified mode\'s
expiration date being returned.'

def test_date_with_self_paced_without_dynamic_upgrade_deadline(self):

    DynamicUpgradeDeadlineConfiguration.objects.create(enabled=False)
    course = self.create_self_paced_course_run()
    expected = CourseMode.objects.get(course_id=course.id, mode_slug=CourseMode.VERIFIED).expiration_datetime
    self.assert_upgrade_deadline(course, expected)
