class_docstr: Test methods for resolution of experiment name conflict
class_docstr_tok: ["Test","methods","for","resolution","of","experiment","name","conflict"]
docstr: Verify reverting resolution set conflict to unresolved and reset name in config
docstr_tok: ["Verify","reverting","resolution","set","conflict","to","unresolved","and","reset","name","in","config"]
code: def test_revert(
      self,
      old_config,
      new_config,
      experiment_name_conflict,
      experiment_name_resolution,
  ):
      """Verify reverting resolution set conflict to unresolved and reset name in config"""
      assert experiment_name_conflict.is_resolved
      assert new_config["name"] == experiment_name_resolution.new_name
      assert (
          new_config["version"]
          == experiment_name_resolution.new_version
      )
  
      assert experiment_name_resolution.revert() == []
  
      assert new_config["name"] == old_config["name"]
      assert new_config["version"] == old_config["version"]
      assert not experiment_name_conflict.is_resolved
      assert experiment_name_conflict.resolution is None
  
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 3 for calling the TestExperimentNameResolution obj's underlying member method code with example usage: obj.test_revert(old_config, new_config, experiment_name_conflict, experiment_name_resolution) without return types