class_docstr: Test methods for resolution of new dimension
class_docstr_tok: ["Test","methods","for","resolution","of","new","dimension"]
docstr: Verify instantiation of resolution with invalid default value
docstr_tok: ["Verify","instantiation","of","resolution","with","invalid","default","value"]
code: def test_init_bad_default(self, new_dimension_conflict):
      """Verify instantiation of resolution with invalid default value"""
      default_value = "bad"
      with pytest.raises(ValueError) as exc:
          new_dimension_conflict.AddDimensionResolution(
              new_dimension_conflict, default_value=default_value
          )
      assert "could not convert string to float: 'bad'" in str(
          exc.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 4 for calling the TestAddDimensionResolution obj's underlying member method code with example usage: obj.test_init_bad_default(new_dimension_conflict) without return types