code: def test_all():
      minimal = ExperimentConfig(**minimal_json)
      assert minimal.json() == minimal_canon
  
      assert minimal_class.json() == minimal_canon_2
  
      detailed = ExperimentConfig.load(
          expand_path("assets/config.yaml")
      )
      assert detailed.json() == detailed_canon
  
imports: import copy
  import os.path
  from pathlib import Path
  from nni.experiment.config import ExperimentConfig
label_desc: Use image node_id 2 for calling a global function with example usage: test_all() without return types