code: def test_get_run_config(self):
      """Test whether the run config is returned correctly and patches the keys which have only one value."""
      dummy_config = DictConfig(
          {
              "parent1": {"child1": ["a", "b"], "child2": [1, 2]},
              "parent2": ["model1", "model2"],
              "parent3": "replacement_value",
          }
      )
      run_config = list(get_run_config(dummy_config))
      expected_value = [
          {
              "parent1.child1": "a",
              "parent1.child2": 1,
              "parent2": "model1",
              "parent3": "replacement_value",
          },
          {
              "parent1.child1": "a",
              "parent1.child2": 1,
              "parent2": "model2",
              "parent3": "replacement_value",
          },
          {
              "parent1.child1": "a",
              "parent1.child2": 2,
              "parent2": "model1",
              "parent3": "replacement_value",
          },
          {
              "parent1.child1": "a",
              "parent1.child2": 2,
              "parent2": "model2",
              "parent3": "replacement_value",
          },
          {
              "parent1.child1": "b",
              "parent1.child2": 1,
              "parent2": "model1",
              "parent3": "replacement_value",
          },
          {
              "parent1.child1": "b",
              "parent1.child2": 1,
              "parent2": "model2",
              "parent3": "replacement_value",
          },
          {
              "parent1.child1": "b",
              "parent1.child2": 2,
              "parent2": "model1",
              "parent3": "replacement_value",
          },
          {
              "parent1.child1": "b",
              "parent1.child2": 2,
              "parent2": "model2",
              "parent3": "replacement_value",
          },
      ]
      assert run_config == expected_value
  
imports: from omegaconf import DictConfig
  from anomalib.utils.sweep.config import get_run_config, set_in_nested_config
label_desc: Use image node_id 1 for calling the TestSweepConfig obj's underlying member method code with example usage: obj.test_get_run_config() without return types