code: def test_world_returns_correct_actions_with_reverse(self):
      sempre_form = "((reverse fb:row.row.year) (fb:row.row.league fb:cell.usl_a_league))"
      expression = self.world.parse_logical_form(sempre_form)
      actions = self.world.get_action_sequence(expression)
      target_action_sequence = [
          "@start@ -> c",
          "c -> [<r,c>, r]",
          "<r,c> -> [<<#1,#2>,<#2,#1>>, <c,r>]",
          "<<#1,#2>,<#2,#1>> -> reverse",
          "<c,r> -> fb:row.row.year",
          "r -> [<c,r>, c]",
          "<c,r> -> fb:row.row.league",
          "c -> fb:cell.usl_a_league",
      ]
      assert actions == target_action_sequence
  
imports: from __future__ import with_statement
  from __future__ import division
  from __future__ import absolute_import
  from __future__ import print_function
  import pytest
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.tokenizers import Token
  from allennlp.semparse import ParsingError
  from allennlp.semparse.contexts import TableQuestionKnowledgeGraph
  from allennlp.semparse.worlds import WikiTablesWorld
label_desc: Use image node_id 10 for calling the TestWikiTablesWorld obj's underlying member method code with example usage: obj.test_world_returns_correct_actions_with_reverse() without return types