class_docstr: Test methods for resolution of new dimension
class_docstr_tok: ["Test","methods","for","resolution","of","new","dimension"]
docstr: Verify prior string with new default value given by user
docstr_tok: ["Verify","prior","string","with","new","default","value","given","by","user"]
code: def test_new_prior_default(
      self, new_dimension_conflict, new_dimension_with_default_conflict
  ):
      """Verify prior string with new default value given by user"""
      default_value = 1.2
      resolution = (
          new_dimension_with_default_conflict.AddDimensionResolution(
              new_dimension_with_default_conflict,
              default_value=default_value,
          )
      )
      assert (
          resolution.new_prior
          == "normal(0, 2, default_value={})".format(default_value)
      )
  
      resolution = new_dimension_conflict.AddDimensionResolution(
          new_dimension_conflict, default_value=default_value
      )
      assert (
          resolution.new_prior
          == "normal(0, 2, default_value={})".format(default_value)
      )
  
imports: import pytest
  from orion.algo.space import Dimension
  from orion.core.evc import adapters, conflicts
  from orion.testing.evc import add_default_config_for_missing
label_desc: Use image node_id 7 for calling the TestAddDimensionResolution obj's underlying member method code with example usage: obj.test_new_prior_default(new_dimension_conflict, new_dimension_with_default_conflict) without return types