code: def test_live_azure_lifecycle(
      require_secrets: bool, tmp_path: Path
  ) -> None:
      live_manager = get_live_azure_manager(require_secrets, tmp_path)
  
      def post_delete_cb(storage_id: str) -> None:
          """Search Azure directly to ensure that a checkpoint is actually deleted."""
          found = [
              blob["name"]
              for blob in live_manager.client.list_files(
                  CONTAINER_NAME, storage_id
              )
          ]
          if found:
              file_list = "    " + "\n    ".join(found)
              raise ValueError(
                  f"found {len(found)} files in container after delete:\n{file_list}"
              )
  
      util.run_storage_lifecycle_test(live_manager, post_delete_cb)
  
file_path: determined/harness/tests/storage/test_azure.py
imports: import io
  import os
  import tempfile
  import uuid
  from pathlib import Path
  from typing import Dict, List
  import pytest
  from determined.common import storage
  from determined.tensorboard.fetchers.azure import AzureFetcher
  from tests.storage import util
label_desc: Use image node_id 2 for calling a global function with example usage: test_live_azure_lifecycle(require_secrets, tmp_path) without return types