'Assert that if various data is not available or if the survey is not found
then the survey is not considered required'

def test_is_survey_not_required_for_course(self):

    course = CourseFactory.create()
    self.assertFalse(is_survey_required_for_course(course))
    course = CourseFactory.create(course_survey_required=False)
    self.assertFalse(is_survey_required_for_course(course))
    course = CourseFactory.create(course_survey_required=True, course_survey_name='NonExisting')
    self.assertFalse(is_survey_required_for_course(course))
    course = CourseFactory.create(course_survey_required=False, course_survey_name=self.test_survey_name)
    self.assertFalse(is_survey_required_for_course(course))
