docstr: Tests batch_respond() of Repeat Query agent.
docstr_tok: ["Tests","batch_respond","(",")","of","Repeat","Query","agent","."]
code: def test_batch_respond(self):
      """
      Tests batch_respond() of Repeat Query agent.
      """
      agent = create_agent(dict(model="repeat_query"))
      messages = [
          Message({"text": "hello!", "episode_done": False}),
          Message({"text": "hi!", "episode_done": False}),
          Message({"text": "what's up?", "episode_done": False}),
          Message({"text": "", "episode_done": False}),
          Message({"text": "I feel infinite.", "episode_done": False}),
      ]
      expected_response = [
          "hello!",
          "hi!",
          "what's up?",
          "Nothing to repeat yet.",
          "I feel infinite.",
      ]
      batch_response = agent.batch_respond(messages)
      self.assertEqual(batch_response, expected_response)
  
file_path: ParlAI/tests/test_repeat_query_agent.py
imports: import unittest
  from parlai.core.agents import create_agent
  from parlai.core.message import Message
label_desc: Use image node_id 3 for calling the TestRepeatQueryAgent obj's underlying member method code with example usage: obj.test_batch_respond() without return types