code: def run_text_case(self, case):
      parser = StepByStepReason.add_cmdline_args(
          ParlaiParser(False, False), None
      )
      parser.set_defaults(thought_token="", inner_separator_token=" ")
      opt = parser.parse_args(
          case.flags.split(" ") if len(case.flags) > 0 else []
      )
      steps_reason = StepByStepReason(opt)
      _, steps, _ = steps_reason.get_full_reason_text(
          {"steps": case.input_steps}
      )
      self.assertEqual(
          case.steps_string,
          steps,
          f"Text different in {case.friendly_name}",
      )
  
file_path: ParlAI/tests/tasks/reasoning_teacher/test_step_by_step.py
imports: from typing import List
  import unittest
  from parlai.core.params import ParlaiParser
  from dataclasses import dataclass
label_desc: Use image node_id 6 for calling the TestStepPertubations obj's underlying member method code with example usage: obj.run_text_case(case) without return types