There are GET methods in some of the clients that take in an optional 'params' parameter. However it doesn't appear that this is actually used in any tests. I found a few bugs in the param list url generation code in these methods which were not shown during runs because this code is never getting used.
Grepping for params=None in tempest/services yielded this list of methods: (ideally we should add a test that uses params for each method listed here)
compute/json/volumes_extensions_client.py: def list_volumes(self, params=None):
compute/json/volumes_extensions_client.py: def list_volumes_with_detail(self, params=None):
compute/json/security_groups_client.py: def list_security_groups(self, params=None):
compute/json/flavors_client.py: def list_flavors(self, params=None):
compute/json/flavors_client.py: def list_flavors_with_detail(self, params=None):
compute/json/images_client.py: def list_images(self, params=None):
compute/json/images_client.py: def list_images_with_detail(self, params=None):
compute/json/servers_client.py: def list_servers(self, params=None):
compute/json/servers_client.py: def list_servers_with_detail(self, params=None):
compute/json/floating_ips_client.py: def list_floating_ips(self, params=None):
compute/xml/volumes_extensions_client.py: def list_volumes(self, params=None):
compute/xml/volumes_extensions_client.py: def list_volumes_with_detail(self, params=None):
compute/xml/security_groups_client.py: def list_security_groups(self, params=None):
compute/xml/flavors_client.py: def list_flavors(self, params=None):
compute/xml/flavors_client.py: def list_flavors_with_detail(self, params=None):
compute/xml/images_client.py: def list_images(self, params=None):
compute/xml/images_client.py: def list_images_with_detail(self, params=None):
compute/xml/servers_client.py: def list_servers(self, params=None):
compute/xml/servers_client.py: def list_servers_with_detail(self, params=None):
compute/xml/floating_ips_client.py: def list_floating_ips(self, params=None):
object_storage/account_client.py: def list_account_containers(self, params=None):
object_storage/container_client.py: def list_all_container_objects(self, container, params=None):
object_storage/container_client.py: def list_container_contents(self, container, params=None):
volume/json/volumes_client.py: def list_volumes(self, params=None):
volume/json/volumes_client.py: def list_volumes_with_detail(self, params=None):
volume/xml/volumes_client.py: def list_volumes(self, params=None):
volume/xml/volumes_client.py: def list_volumes_with_detail(self, params=None):
Reviewed: https:/ /review. openstack. org/22796 github. com/openstack/ tempest/ commit/ 11795b568683273 18030cdcd94d311 3001d958a3
Committed: http://
Submitter: Jenkins
Branch: master
commit 11795b568683273 18030cdcd94d311 3001d958a3
Author: Attila Fazekas <email address hidden>
Date: Sun Feb 24 15:49:08 2013 +0100
Add basic image filtering tests
* Add service method: detailed listing
* Add test case: filtering by name
* Add test case: filtering by size (min, max)
* Add test case: filter by disk format
* Add test case: filter by container_type
* Add test case: Ordering by size
Partially fixes bug #1086590.
Change-Id: Ia4d12a9d77ecf5 cfd8552747b563c 4d9da83c6b6