code: def test_multi_node_separate_cloud_computes():
      class Work(LightningWork):
          def run(self):
              pass
  
      m = MultiNode(
          Work, num_nodes=2, cloud_compute=CloudCompute("gpu")
      )
  
      assert len({w.cloud_compute._internal_id for w in m.ws}) == len(
          m.ws
      )
  
file_path: pytorch-lightning/tests/tests_app/components/multi_node/test_base.py
imports: from re import escape
  from unittest import mock
  import pytest
  from lightning.app import CloudCompute, LightningWork
  from lightning.app.components import MultiNode
  from lightning_utilities.test.warning import no_warning_call
label_desc: Use image node_id 2 for calling a global function with example usage: test_multi_node_separate_cloud_computes() without return types