'Verify that method returns expired modes if include_expired
is true.'

def test_get_course_with_expired_mode_included(self):

    modes = ['honor', 'verified', 'audit']
    self._create_course_modes(modes, course=self.course)
    self._update_verified_mode_as_expired(self.course.id)
    self.assert_enrollment_modes(modes, True)
