code: def test_atis_from_json(self):
      line = json.loads(self.data[0])
      for utterance_idx in range(len(line["interaction"])):
          world = AtisWorld(
              [
                  interaction["utterance"]
                  for interaction in line["interaction"][
                      : utterance_idx + 1
                  ]
              ]
          )
          action_sequence = world.get_action_sequence(
              line["interaction"][utterance_idx]["sql"]
          )
          assert action_sequence is not None
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/semparse/worlds/atis_world_test.py
imports: from __future__ import division
  from __future__ import absolute_import
  import json
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.semparse.worlds.atis_world import AtisWorld
  from io import open
label_desc: Use image node_id 6 for calling the TestAtisWorld obj's underlying member method code with example usage: obj.test_atis_from_json() without return types