def test_list_service_providers_sort(self):
     resources = "service_providers"
     cmd = servicetype.ListServiceProvider(test_cli20.MyApp(sys.stdout),
                                           None)
     self._test_list_resources(resources,
                               cmd,
                               sort_key=["name"],
                               sort_dir=["asc", "desc"])
 def test_list_service_providers_limit(self):
     resources = "service_providers"
     cmd = servicetype.ListServiceProvider(test_cli20.MyApp(sys.stdout),
                                           None)
     self._test_list_resources(resources, cmd, page_size=1000)
 def test_list_service_providers_pagination(self):
     resources = "service_providers"
     cmd = servicetype.ListServiceProvider(test_cli20.MyApp(sys.stdout),
                                           None)
     self._test_list_resources_with_pagination(resources, cmd)
 def test_list_service_providers(self):
     resources = "service_providers"
     cmd = servicetype.ListServiceProvider(test_cli20.MyApp(sys.stdout),
                                           None)
     self._test_list_resources(resources, cmd, True)