code: def test_create_configspace(self):
      from aup.Proposer import BOHBProposer as bohb
  
      cs = bohb.BOHBProposer.create_configspace(self.config)
      c = cs.get_hyperparameter("choice")
      self.assertTupleEqual(c.choices, self.config[0]["range"])
  
      for i in range(10):
          cf = cs.sample_configuration()
          v = cf.get("float")
          self.assertTrue(0 <= v <= 1)
          self.assertIsInstance(v, float)
  
          v = cf.get("int")
          self.assertTrue(0 <= v <= 10)
          self.assertIsInstance(v, int)
  
          v = cf.get("choice")
          self.assertTrue(v in (1, 2, 3))
  
file_path: auptimizer/tests/Proposer/test_BOHBProposer.py
imports: from aup.EE.Job import Job
  from unittest import TestCase, skipIf
  from six import PY2, PY3
label_desc: Use image node_id 1 for calling the BOHBTestCase obj's underlying member method code with example usage: obj.test_create_configspace() without return types