'Tests that CourseOverview structures are actually getting cached.
Arguments:
modulestore_type (ModuleStoreEnum.Type): type of store to create the
course in.'

@ddt.data(ModuleStoreEnum.Type.mongo, ModuleStoreEnum.Type.split)
def test_course_overview_caching(self, modulestore_type):

    course = CourseFactory.create(default_store=modulestore_type, emit_signals=True)
    with check_mongo_calls(0):
        CourseOverview.get_from_id(course.id)
