code: def test_checkpoint_download_via_master(tmp_path: Path) -> None:
      uuid_tgz = "dummy-uuid-123-tgz"
      checkpoint_path = tmp_path / "mock-checkpoint"
  
      setup_mock_checkpoint(checkpoint_path)
  
      # Set up mocks
      responses.get(
          f"https://dummy-master.none:443/checkpoints/{uuid_tgz}",
          body=get_response_raw_tgz(checkpoint_path),
          stream=True,
          status=200,
          match=[
              matchers.header_matcher({"Accept": "application/gzip"})
          ],
      )
  
      checkpoint_path = tmp_path / uuid_tgz
      Checkpoint._download_via_master(
          api.Session(
              master="https://dummy-master.none",
              user=None,
              auth=None,
              cert=None,
          ),
          uuid_tgz,
          checkpoint_path,
      )
      verify_test_checkpoint(checkpoint_path)
  
file_path: determined/harness/tests/checkpoints/test_checkpoint.py
imports: import io
  import tarfile
  from pathlib import Path
  import responses
  from responses import matchers
  from determined.common import api
  from determined.common.experimental import Checkpoint
label_desc: Use image node_id 5 for calling a global function with example usage: test_checkpoint_download_via_master(tmp_path) without return types