code: def test_load_custom_config(
      self, custom_config_path_with_true_config
  ):
      config_path = custom_config_path_with_true_config[0]
      true_config = custom_config_path_with_true_config[1]
  
      if config_path == os.path.join(
          PATH, "data/baseAE/configs/model_config00.json"
      ):
          parsed_config = BaseAEConfig.from_json_file(config_path)
  
      elif config_path == os.path.join(
          PATH, "data/baseAE/configs/training_config00.json"
      ):
          parsed_config = BaseTrainerConfig.from_json_file(config_path)
  
      else:
          parsed_config = BaseSamplerConfig.from_json_file(config_path)
  
      assert parsed_config == true_config
  
imports: import json
  import os
  import pytest
  from pydantic import ValidationError
  from pythae.config import BaseConfig
  from pythae.models import AEConfig, BaseAEConfig
  from pythae.samplers import BaseSamplerConfig, NormalSamplerConfig
  from pythae.trainers import AdversarialTrainerConfig, BaseTrainerConfig
label_desc: Use image node_id 5 for calling the Test_Load_Config_from_JSON obj's underlying member method code with example usage: obj.test_load_custom_config(custom_config_path_with_true_config) without return types