docstr: Make sure single api schema agent correctly splits conversations with multiple
  goals into single goals for the agent.
docstr_tok: ["Make","sure","single","api","schema","agent","correctly","splits","conversations","with","multiple","goals","into","single","goals","for","the","agent","."]
code: def _test_roundDataCorrect_helper(self, config):
      """
      Make sure single api schema agent correctly splits conversations with multiple
      goals into single goals for the agent.
      """
      max_rounds = config[test_agents.TEST_NUM_ROUNDS_OPT_KEY]
      max_episodes = config[test_agents.TEST_NUM_EPISODES_OPT_KEY]
      values = self.dump_single_utt_per_episode_agent_text(
          test_agents.SingleApiSchemaAgent, config, {}
      )
  
      apis_text = []
      for _ in range(max_episodes):
          apis = test_agents.make_api_schemas_machine(max_rounds)
          for x in apis:
              apis_text.append(
                  "APIS: "
                  + tod_core.SerializationHelpers.list_of_maps_to_str(
                      [x]
                  )
              )
      self.assertEqual(values, apis_text)
  
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 TestSingleApiSchemaAgent obj's underlying member method code with example usage: obj._test_roundDataCorrect_helper(config) without return types