code: def test_config(self):
      self.config_tester.create_and_test_config_common_properties()
      self.config_tester.create_and_test_config_to_json_string()
      self.config_tester.create_and_test_config_to_json_file()
      self.config_tester.create_and_test_config_from_and_save_pretrained()
      self.config_tester.check_config_can_be_init_without_params()
      self.config_tester.check_config_arguments_init()
  
imports: import unittest
  from transformers.testing_utils import is_torch_available, require_torch, tooslow
  from ...generation.test_utils import torch_device
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_common import ModelTesterMixin, ids_tensor
  from ...test_pipeline_mixin import PipelineTesterMixin
label_desc: Use image node_id 2 for calling the CpmAntModelTest obj's underlying member method code with example usage: obj.test_config() without return types