code: def test_run_config(mock_run, config, sweep_config, expected_config):
      run = mock_run(config=config, sweep_config=sweep_config)
      assert dict(run.config) == expected_config
  
imports: import copy
  import os
  import platform
  import unittest.mock
  import numpy
  import pytest
  import wandb
  import wandb.errors
  from wandb import wandb_sdk
label_desc: Use image node_id 4 for calling a global function with example usage: test_run_config(mock_run, config, sweep_config, expected_config) without return types