class_docstr: Test the commands of the prompt
class_docstr_tok: ["Test","the","commands","of","the","prompt"]
docstr: Verify that all resolutions are reverted
docstr_tok: ["Verify","that","all","resolutions","are","reverted"]
code: def test_reset_many(self, conflicts, branch_solver_prompt):
      """Verify that all resolutions are reverted"""
      assert len(conflicts.get_resolved()) == 0
      assert len(conflicts.get()) == 12
      branch_solver_prompt.do_auto("")
      assert len(conflicts.get()) == 12
      assert len(conflicts.get_resolved()) == 11
  
      reset_strings = []
      for resolution in conflicts.get_resolutions():
          resolution_string = shlex.quote(str(resolution))
          # Otherwise --argument is interpreted as an argument by argparse rather than a
          # positional string
          if not resolution_string.startswith("'"):
              resolution_string = f"' {resolution_string}'"
          reset_strings.append(resolution_string)
      branch_solver_prompt.do_reset(" ".join(reset_strings))
      assert len(conflicts.get_resolved()) == 0
  
imports: import shlex
  import pytest
  from orion.core import evc
  from orion.core.io.experiment_branch_builder import ExperimentBranchBuilder
  from orion.core.io.interactive_commands.branching_prompt import BranchingPrompt
  from orion.core.io.space_builder import DimensionBuilder
label_desc: Use image node_id 52 for calling the TestCommands obj's underlying member method code with example usage: obj.test_reset_many(conflicts, branch_solver_prompt) without return types