code: def test_agent_ignore_runid(live_mock_server):
      sweep_run_ids = []
  
      def train():
          run = wandb.init(id="ignored")
          sweep_run_ids.append(run.id)
          run.finish()
  
      wandb.agent("test-sweep-id-3", function=train, count=1)
  
      assert len(sweep_run_ids) == 1
      assert sweep_run_ids[0] == "mocker-sweep-run-x91"
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_agent_ignore_runid(live_mock_server) without return types