code: def test_script(self):
      report = ds.DataStats.main(task="integration_tests")
      assert report["input/unique_tokens"] == 7
      assert report["labels/unique_tokens"] == 7
      assert report["both/unique_tokens"] == 7
      assert report["both/utterances"] == 1000
      assert report["input/utterances"] == 500
      assert report["labels/utterances"] == 500
      assert report["both/unique_utterances"] == 500
      assert report["input/unique_utterances"] == 500
      assert report["labels/unique_utterances"] == 500
      assert report["both/tokens"] == 4000
      assert report["input/tokens"] == 2000
      assert report["labels/tokens"] == 2000
      assert report["both/avg_utterance_length"] == 4
      assert report["input/avg_utterance_length"] == 4
      assert report["labels/avg_utterance_length"] == 4
  
file_path: ParlAI/tests/test_miscscripts.py
imports: import unittest
  import tempfile
  import parlai.scripts.convert_data_to_parlai_format
  import parlai.scripts.data_stats
label_desc: Use image node_id 1 for calling the TestEvalDataStats obj's underlying member method code with example usage: obj.test_script() without return types