docstr: Tests whether short opts with multiple letters parse correctly.
  
  Known tricky in python 3.8.
docstr_tok: ["Tests","whether","short","opts","with","multiple","letters","parse","correctly",".","Known","tricky","in","python","3.8","."]
code: def test_shortopt(self):
      """
      Tests whether short opts with multiple letters parse correctly.
  
      Known tricky in python 3.8.
      """
      opt = script.superscript_main(
          args=["short_opt", "-m", "repeat_query"]
      )
      assert opt.get("model") == "repeat_query"
  
      opt = script.superscript_main(
          args=[
              "short_opt",
              "-m",
              "transformer/generator",
              "-opt",
              "adam",
          ]
      )
      assert opt.get("optimizer") == "adam"
  
imports: import sys
  import unittest
  from unittest.mock import patch
  from parlai.core.params import ParlaiParser
  import parlai.core.script
  import parlai.utils.testing
label_desc: Use image node_id 1 for calling the TestSuperCommand obj's underlying member method code with example usage: obj.test_shortopt() without return types