code: def test_convert_study_config_discrete(self):
      hps = hp_module.HyperParameters()
      hps.Choice("learning_rate", [1e-4, 1e-3, 1e-2])
      study_config = utils.make_study_config(
          objective=oracle_module.Objective("val_accuracy", "max"),
          hyperparams=hps,
      )
      self._assert_study_config_equal(
          study_config, STUDY_CONFIG_DISCRETE
      )
  
      actual_hps = utils.convert_study_config_to_hps(study_config)
      self._assert_hps_equal(actual_hps, hps)
  
imports: import copy
  from absl.testing import parameterized
  from keras_tuner.engine import hyperparameters
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  import tensorflow
  from tensorboard.plugins.hparams import api
  from tensorflow_cloud.tuner.tuner import utils
label_desc: Use image node_id 1 for calling the CloudTunerUtilsTest obj's underlying member method code with example usage: obj.test_convert_study_config_discrete() without return types