'Verify that method does not returns expired modes if include_expired
is false.'

def test_get_course_without_expired_mode_included(self):

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