code: def test_raises_user_warning(
      self, custom_config_path_with_true_config
  ):
      config_path = custom_config_path_with_true_config[0]
      with pytest.warns(UserWarning):
          if config_path == os.path.join(
              PATH, "data/baseAE/configs/model_config00.json"
          ):
              parsed_config = AEConfig.from_json_file(config_path)
  
          elif config_path == os.path.join(
              PATH, "data/baseAE/configs/training_config00.json"
          ):
              parsed_config = AdversarialTrainerConfig.from_json_file(
                  config_path
              )
  
          else:
              parsed_config = NormalSamplerConfig.from_json_file(
                  config_path
              )
  
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 9 for calling the Test_Load_Config_from_JSON obj's underlying member method code with example usage: obj.test_raises_user_warning(custom_config_path_with_true_config) without return types