code: def test_sweep_entity_project_callable(
      user, relay_server, sweep_config
  ):
      def sweep_callable():
          return sweep_config
  
      with relay_server() as relay:
          sweep_id = wandb.sweep(
              sweep_callable, project="test", entity=user
          )
      sweep_response = relay.context.entries[sweep_id]
      assert sweep_response["project"]["entity"]["name"] == user
      assert sweep_response["project"]["name"] == "test"
      assert sweep_response["name"] == sweep_id
  
file_path: wandb/tests/pytest_tests/system_tests/test_sweep/test_wandb_sweep.py
imports: from typing import Any, Dict, List
  import pytest
  import wandb
label_desc: Use image node_id 2 for calling a global function with example usage: test_sweep_entity_project_callable(user, relay_server, sweep_config) and returns: sweep_config