def test_list_router_types_sort(self):
        resources = "routertypes"
        cmd = routertype.RouterTypeList(test_cli20.MyApp(sys.stdout), None)
        response_contents = [{
            self.id_field: 'myid1', 'name': 'router_type_1_name',
            'description': 'fast router', 'template_id': 'templ_id_1'}, {
            self.id_field: 'myid2', 'name': 'router_type_2_name',
            'description': 'faster router', 'template_id': 'templ_id_2'}]
        self._test_list_resources(resources, cmd,
                                  sort_key=["name", "id"],
                                  sort_dir=["asc", "desc"],
                                  response_contents=response_contents)
RabbitMQ Extension
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/neutronclient/test_cli20_routertype.py/CLITestV20RouterType.test_list_router_types_sort--crossover with--dataset/ETHPy150Open veegee/amqpy/amqpy/connection.py/Connection._cb_blocked