code: def test_backend_selection(client_mock):
      cloud_backend = CloudHybridBackend("", queue_id="")
      work = mock.MagicMock()
      work.cloud_compute = CloudCompute()
      assert (
          cloud_backend._get_backend(work)
          == cloud_backend.backends["multiprocess"]
      )
      work.cloud_compute = CloudCompute("gpu")
      assert (
          cloud_backend._get_backend(work)
          == cloud_backend.backends["cloud"]
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_backend_selection(client_mock) without return types