'Assert that courses doesn\'t exist in the course overviews.'

def _assert_courses_not_in_overview(self, *courses):

    course_keys = CourseOverview.get_all_course_keys()
    for expected_course_key in courses:
        self.assertNotIn(expected_course_key, course_keys)
