cinder/cinder/tests/unit/api
whoami-rajat 80e94ac3dc Handling filters in Generalized Filtering API
This patch handles the following filters :

1) all_tenants : Restoring to previous functionality of ignoring
invalid filters

2) is_public (volume_type): This filter has the 3 valid values,
* True : show only public volume types (valid for non-admins)
* False : show only private volume types (valid for admins)
* None : show both private and public volume types
Since this filter is valid for admins as well as non-admins,
we can pass this through filtering API to lower level code where
this is handled correctly.

3) name (group, group snapshot): 'name' is a valid parameter for
non-admins while showing a group or group snapshot.

Closes-Bug: #1753885

Change-Id: I1545c165087f80a9fdc9f576114a820ac95be5c5
2019-03-20 16:15:24 +00:00
..
contrib Add test case: extend non-exist volume 2019-01-11 03:29:20 +00:00
middleware Fix deprecation warnings 2018-08-23 12:52:34 -04:00
openstack Raise HTTPUnsupportedMediaType when content type is unsupported 2018-08-21 17:14:02 +08:00
v2 Add policy test for volume metadata policy 2019-01-15 01:22:10 +00:00
v3 Merge "Add project_id in group snapshots list and show API" 2019-03-05 05:55:51 +00:00
views Fix version return incorrect when endpoint url end without / 2019-02-20 20:30:14 +00:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Fix consisgroup V3 interfaces 2016-07-04 16:21:44 +08:00
test_api_validation.py Tests: Fix python version check 2018-02-16 14:43:53 -05:00
test_common.py Handling filters in Generalized Filtering API 2019-03-20 16:15:24 +00:00
test_versions.py Exclude disabled API versions from listing 2018-09-26 23:31:46 +00:00