code: def test_gcs_shortcut_dict() -> None:
      shortcut = {"type": "gcs", "bucket": "test_bucket"}
      with mock.patch(
          "determined.common.storage.GCSStorageManager.from_config"
      ) as mocked:
          _ = core._context._get_storage_manager(
              checkpoint_storage=shortcut
          )
      shortcut.pop("type")
      mocked.assert_called_once_with(shortcut, None)
  
imports: import os
  from typing import Optional
  from unittest import mock
  import pytest
  from determined import core
  from determined.common import storage
label_desc: Use image node_id 13 for calling a global function with example usage: test_gcs_shortcut_dict() without return types