code: def test_random_design_with_constraints(self):
      constraints = [{"name": "const_1", "constraint": "x[:,0]**2 - 1"}]
      self.design_space = Design_space(
          self.space, constraints=constraints
      )
      initial_points_count = 10
  
      samples = initial_design(
          "random", self.design_space, initial_points_count
      )
  
      self.assert_samples_against_space(samples)
      self.assertTrue((samples[:, 0] ** 2 - 1 < 0).all())
  
imports: from __future__ import division
  import numpy
  import unittest
  from numpy.testing import assert_allclose
  from GPyOpt.core.errors import InvalidConfigError
  from GPyOpt.core.task.space import Design_space
  from GPyOpt.experiment_design import initial_design
  from GPyOpt.util.general import normalize
label_desc: Use image node_id 6 for calling the TestInitialDesign obj's underlying member method code with example usage: obj.test_random_design_with_constraints() without return types