code: def test_sweep_create(user, relay_server, sweep_config):
      with relay_server() as relay:
          sweep_id = wandb.sweep(sweep_config, entity=user)
      assert sweep_id in relay.context.entries
  
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 1 for calling a global function with example usage: test_sweep_create(user, relay_server, sweep_config) without return types