class_docstr: Make sure the SingleGoal + SingleApiSchema agents correspond.
class_docstr_tok: ["Make","sure","the","SingleGoal","+","SingleApiSchema","agents","correspond","."]
code: def _test_roundDataCorrect_helper(self, config):
      goals = self.dump_single_utt_per_episode_agent_text(
          test_agents.SingleGoalAgent, config, {}
      )
      apis = self.dump_single_utt_per_episode_agent_text(
          test_agents.SingleApiSchemaAgent, config, {}
      )
  
      for i in range(len(goals)):
          goal = tod_core.SerializationHelpers.str_to_goals(
              goals[i][len("GOALS:") :]
          )
          api = tod_core.SerializationHelpers.str_to_api_schemas(
              apis[i][len("APIS:") :]
          )
          self.assertEqual(
              goal[0].get("api_name", None),
              api[0].get("api_name", None),
          )
  
imports: import unittest
  import copy
  import parlai.core.tod.tod_core
  import parlai.core.tod.tod_test_utils.test_agents
label_desc: Use image node_id 1 for calling the TestSingleGoalWithSingleApiSchemaAgent obj's underlying member method code with example usage: obj._test_roundDataCorrect_helper(config) without return types