def METHOD_NAME(self, store_builder, num_mongo_calls):
    request_cache = MemoryCache()
    with store_builder.build(request_cache=request_cache) as (content_store, modulestore):
        course_key = self._import_course(content_store, modulestore)
        with check_mongo_calls(num_mongo_calls):
            with modulestore.bulk_operations(course_key):
                # assume the course was retrieved earlier
                course = modulestore.get_course(course_key, depth=0, lazy=True)
                # and then subsequently retrieved with the lazy and depth=None values
                course = modulestore.get_item(course.location, depth=None, lazy=False)
                self._traverse_blocks_in_course(course, access_all_block_fields=True)