class_docstr: Basic tests on the eval_model.py example.
class_docstr_tok: ["Basic","tests","on","the","eval_model.py","example","."]
docstr: Test output of running eval_model.
docstr_tok: ["Test","output","of","running","eval_model","."]
code: def test_output(self):
      """
      Test output of running eval_model.
      """
      opt = dict(
          task="integration_tests",
          model="repeat_label",
          datatype="valid",
          num_examples=5,
          display_examples=False,
      )
  
      valid, test = testing_utils.eval_model(opt)
  
      self.assertEqual(valid["accuracy"], 1)
      self.assertEqual(test["accuracy"], 1)
      self.assertNotIn("rouge_L", valid)
      self.assertNotIn("rouge_L", test)
  
file_path: ParlAI/tests/test_eval_model.py
imports: import os
  from parlai.utils.io import PathManager
  import pytest
  import unittest
  import parlai.utils.testing
  from parlai.scripts.eval_model import get_task_world_logs
label_desc: Use image node_id 3 for calling the TestEvalModel obj's underlying member method code with example usage: obj.test_output() without return types