def METHOD_NAME(self):
    """
    Test the course list for regular staff when get_course returns an ErrorBlock
    """
    store = modulestore()
    course_key = store.make_course_key('Org1', 'Course1', 'Run1')
    self._create_course_with_access_groups(course_key)
    with mock.patch(
        'xmodule.modulestore.split_mongo.caching_descriptor_system.SplitMongoKVS', mock.Mock(side_effect=Exception)
    ):
        assert isinstance(modulestore().get_course(course_key), ErrorBlock)
        # Invalidate (e.g., delete) the corresponding CourseOverview, forcing get_course to be called.
        CourseOverview.objects.filter(id=course_key).delete()
        courses_list = list(get_course_enrollments(self.student, None, []))
        assert not courses_list