def test_list_policy_rules_sort(self):
        resources = 'policy_rules'
        cmd = gbp.ListPolicyRule(test_cli20.MyApp(sys.stdout), None)
        self._test_list_resources(resources, cmd,
                                  sort_key=["name", "id"],
                                  sort_dir=["asc", "desc"])
grouppolicy-policy-rule-list --sort-key name --sort-key id
dataset/ETHPy150Open openstack/python-group-based-policy-client/gbpclient/tests/unit/test_cli20_policyrule.py/CLITestV20PolicyRuleJSON.test_list_policy_rules_sort