code: def test_retrieve_inventory_should_log_mgs(self, mock_conn, caplog):
      # given
      job_id = {"jobId": "1234abcd"}
      # when
  
      with caplog.at_level(logging.INFO, logger=self.hook.log.name):
          caplog.clear()
          mock_conn.return_value.initiate_job.return_value = job_id
          self.hook.retrieve_inventory(VAULT_NAME)
      # then
      assert caplog.messages == [
          f"Retrieving inventory for vault: {VAULT_NAME}",
          f"Initiated inventory-retrieval job for: {VAULT_NAME}",
          f"Retrieval Job ID: {job_id.get('jobId')}",
      ]
  
file_path: airflow/tests/providers/amazon/aws/hooks/test_glacier.py
imports: from __future__ import annotations
  import logging
  from unittest import mock
  from airflow.providers.amazon.aws.hooks.glacier import GlacierHook
label_desc: Use image node_id 3 for calling the TestAmazonGlacierHook obj's underlying member method code with example usage: obj.test_retrieve_inventory_should_log_mgs(mock_conn, caplog) without return types