def corofunc2():
            called[1] += 1
            return event.ReturnValue(insert_events=[evt3], append_events=[evt2])
def create_on_device(self):
        resource = self.client.api.cm.shared.licensing.pools_s.pool.create(
            name=self.want.name,
            baseRegKey=self.want.base_key,
            method="AUTOMATIC"
        )
        return self._wait_for_license_pool_state_to_activate(resource)