cinder/cinder/tests/unit/api/v3
Rajat Dhasmana f94fc87e4d Fix: listing volumes with filters
This patch includes 2 fix for the following issues:

1) ast.literal_eval() doesn't work with int and float values
See comment inline

2) Do not traverse and modify the same dict:
while traversing filters dict, we're modifying it inside the loop
which distorts the order of elements (adding modified elements in the
end). to fix this, i've used a temp dict that will be used to traverse
and modification will be done in the filters dict.

Closes-Bug: #1883490

Change-Id: I18b4b0b1b71904b766f7b89df49f5539e3c7662a
(cherry picked from commit aed94a76cf)
2020-10-21 13:46:36 +00:00
..
__init__.py Microversion of Bootable filter in cinder list 2016-04-21 15:17:15 +00:00
fakes.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
stubs.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_attachments.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_backups.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cluster.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_consistencygroups.py Replace assertRaisesRegexp with assertRaisesRegex 2018-08-23 22:03:43 -04:00
test_group_snapshots.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_group_specs.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_group_types.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_groups.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_limits.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_messages.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_resource_filters.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_snapshot_manage.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_snapshots.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_types.py Untyped to Default Volume Type 2019-09-20 05:37:54 +00:00
test_volume_manage.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume_metadata.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume_transfer.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volumes.py Fix: listing volumes with filters 2020-10-21 13:46:36 +00:00
test_workers.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00