def test_list_policy_actions_sort(self):
        resources = 'policy_actions'
        cmd = gbp.ListPolicyAction(test_cli20.MyApp(sys.stdout), None)
        self._test_list_resources(resources, cmd,
                                  sort_key=["name", "id"],
                                  sort_dir=["asc", "desc"])
grouppolicy-policy-action-list --sort-key name --sort-key id
dataset/ETHPy150Open openstack/python-group-based-policy-client/gbpclient/tests/unit/test_cli20_policyaction.py/CLITestV20PolicyActionJSON.test_list_policy_actions_sort