code: def test_good():
      config = TestConfig(**good)
      assert config == good_config
      config.validate()
      assert config.json() == good_canon_config.json()
  
file_path: nni/test/ut/experiment/test_config_base.py
imports: from copy import deepcopy
  from dataclasses import dataclass
  from typing import Dict, List, Optional, Union
  from nni.experiment.config.base import ConfigBase
  from nni.experiment.config.utils import diff
label_desc: Use image node_id 1 for calling a global function with example usage: test_good() without return types