code: def test_strategy_registry_with_deepspeed_strategies(
      strategy_name, init_params
  ):
      assert strategy_name in StrategyRegistry
      assert (
          StrategyRegistry[strategy_name]["init_params"] == init_params
      )
      assert (
          StrategyRegistry[strategy_name]["strategy"]
          == DeepSpeedStrategy
      )
  
file_path: pytorch-lightning/tests/tests_pytorch/strategies/test_registry.py
imports: from unittest import mock
  import pytest
  from lightning.pytorch import Trainer
  from lightning.pytorch.plugins import CheckpointIO
  from lightning.pytorch.strategies import DDPStrategy, DeepSpeedStrategy, FSDPStrategy, StrategyRegistry, XLAStrategy
  from tests_pytorch.helpers.runif import RunIf
label_desc: Use image node_id 1 for calling a global function with example usage: test_strategy_registry_with_deepspeed_strategies(strategy_name, init_params) without return types