class_docstr: Test AutoConfig
class_docstr_tok: ["Test","AutoConfig"]
code: def test_local(self):
      conf1 = AutoConfig.LocalCPUConfig()
      self.assertTrue(isinstance(conf1, TowheeConfig))
      self.assertEqual(conf1.config, {"device": -1})
  
      conf2 = AutoConfig.LocalGPUConfig()
      self.assertTrue(isinstance(conf2, TowheeConfig))
      self.assertEqual(conf2.config, {"device": 0})
  
      conf3 = AutoConfig.LocalGPUConfig(device=1)
      self.assertTrue(isinstance(conf3, TowheeConfig))
      self.assertEqual(conf3.config, {"device": 1})
  
file_path: towhee/tests/unittests/runtime/test_autos.py
imports: import pathlib
  import unittest
  from towhee import AutoConfig, AutoPipes
  from towhee.runtime.node_config import TowheeConfig
label_desc: Use image node_id 1 for calling the TestAutoConfig obj's underlying member method code with example usage: obj.test_local() without return types