code: def test_controller_existing(mock_server):
      c = wandb.controller("test", entity="test", project="test")
      assert c.sweep_id == "test"
      assert c.sweep_config == {
          "controller": {"type": "local"},
          "method": "random",
          "parameters": {
              "param1": {
                  "values": [1, 2, 3],
                  "distribution": "categorical",
              },
              "param2": {
                  "values": [1, 2, 3],
                  "distribution": "categorical",
              },
          },
          "program": "train-dummy.py",
      }
  
file_path: wandb/tests/pytest_tests/unit_tests_old/test_launch/test_wandb_controller.py
imports: import platform
  import sys
  import pytest
  import sweeps
  import wandb
label_desc: Use image node_id 3 for calling a global function with example usage: test_controller_existing(mock_server) without return types