code: def test_init(self):
      pc = self.pc.copy()
      pc["engine"] = "wrong"
      self.assertRaises(KeyError, sp.SpearmintProposer, pc)
  
      pc = self.pc.copy()
      pc["parameter_config"][0]["size"] = 2
      p = sp.SpearmintProposer(pc)
      self.assertRaises(NotImplementedError, p.get)
  
      pc = self.pc.copy()
      pc["parameter_config"][0]["name"] = "job_id"
      self.assertRaises(ValueError, sp.SpearmintProposer, pc)
  
file_path: auptimizer/tests/Proposer/test_SpearmintProposer.py
imports: import unittest
  import os
  import shutil
  from six import PY3
  from aup.EE.Job import Job
  from aup.Proposer import SpearmintProposer
label_desc: Use image node_id 3 for calling the SpearmintTestCase obj's underlying member method code with example usage: obj.test_init() without return types