class_docstr: Unittest for the available batch methods
code: def test_local_penalization_in_steps(self):
      gpy_model = Mock()
      gpy_model.X = np.zeros(self.f_inits.shape[1:])
      gpy_model.Y = np.zeros(self.f_inits.shape[1])
      gpy_model.predictive_gradients.side_effect = lambda X: (
          np.zeros((X.shape[0], X.shape[1], 1)),
          np.zeros(X.shape),
      )
  
      self.methods_configs = self.get_method_configs_by_evaluators(
          ["local_penalization"], include=True
      )
      method_config = self.methods_configs[0]
      original_result = self.load_result_file(method_config["name"])
      num_steps = int(
          (original_result.shape[0] - self.f_inits.shape[1])
          / method_config["batch_size"]
      )
  
      self.check_configs_in_steps(
          mock_gpy_model=gpy_model, init_num_steps=num_steps
      )
  
file_path: GPyOpt/GPyOpt/testing/functional_tests/test_parallelization.py
imports: import numpy
  import GPyOpt
  from GPyOpt.util.general import samples_multidimensional_uniform
  from mock import Mock
  from mocks import MockModelVectorValuedPredict
  from base_test_case import BaseTestCase
label_desc: Use image node_id 7 for calling the TestAcquisitions obj's underlying member method code with example usage: obj.test_local_penalization_in_steps() without return types