def test_list_port_chains_sort(self):
        """List port_chains: --sort-key name --sort-key id --sort-key asc

        --sort-key desc
        """
        resources = "port_chains"
        cmd = pc.PortChainList(test_cli20.MyApp(sys.stdout), None)
        self._test_list_resources(resources, cmd,
                                  sort_key=["name", "id"],
                                  sort_dir=["asc", "desc"])
 def test_list_port_chain(self):
     """List port_chain."""
     resources = 'port_chains'
     cmd = pc.PortChainList(test_cli20.MyApp(sys.stdout), None)
     self._test_list_resources(resources, cmd, True)