code: def test_domain_missing(self):
      space = [{"name": "var_1", "type": "continuous"}]
  
      with self.assertRaises(InvalidConfigError):
          Design_space(space)
  
imports: import numpy
  import unittest
  from GPyOpt.core.task.space import Design_space
  from GPyOpt.core.task.variables import BanditVariable, DiscreteVariable, CategoricalVariable, ContinuousVariable
  from GPyOpt.core.errors import InvalidConfigError
label_desc: Use image node_id 8 for calling the TestDesignSpace obj's underlying member method code with example usage: obj.test_domain_missing() without return types