cinder/cinder/tests/unit
Rajat Dhasmana 1f733cdf2d Fix: show volume transfer by name for non-admins
When we try to show a volume transfer as a non-admin, it doesn't work.
The problem is that the 'all_tenants' key isn't parsable by the DB,
we remove it for admins but not for non-admins.
Since all_tenants is just used to redirect to the correct db method,
it should be removed for non-admins as well.

Change-Id: I79362ee6b819c6472fa5e69ea1a85a1185dda5a3
Closes-Bug: #1884268
2020-08-03 12:46:31 +00:00
..
api Merge "Don't show host_name to non-admins" 2020-07-21 21:52:00 +00:00
attachments Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
backup Merge "Fix cross-project incremental backups" 2020-07-01 19:05:29 +00:00
brick Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
cmd Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
compute Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
consistencygroup Remove unused CG code 2017-03-19 00:49:10 -04:00
db Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
glance Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
group Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
image Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
keymgr Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
message Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
monkey_patch_example
objects Fix cross-project incremental backups 2020-05-21 09:38:25 -03:00
policies Bump hacking version to 3.1.0 2020-07-14 17:01:22 -04:00
scheduler Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
targets Bump hacking version to 3.1.0 2020-07-14 17:01:22 -04:00
volume Merge "Nexenta unit tests: add mock for _read_mounts call" 2020-07-31 15:09:30 +00:00
windows smbfs: pick up remotefs method signature change 2020-07-10 09:32:18 +03:00
zonemanager Brocade: Fix AttributeError when raising exception 2020-07-29 10:14:12 +02:00
__init__.py Remove nosetests i18n fix 2016-11-29 18:16:59 +02:00
cast_as_call.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
conf_fixture.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
fake_cluster.py
fake_constants.py Tests: Make tests less random 2020-05-08 11:22:02 -04:00
fake_group.py Update db from drivers in default groups methods 2017-03-17 11:08:06 -04:00
fake_group_snapshot.py Update db from drivers in default groups methods 2017-03-17 11:08:06 -04:00
fake_notifier.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
fake_objects.py
fake_service.py Fix migration 112 to use live_data_migration API 2017-10-20 18:24:33 -06:00
fake_snapshot.py Add context to cloning snapshots in remotefs driver 2019-07-10 10:41:15 +02:00
fake_utils.py Remove unused function from unit/fake_utils.py 2016-08-30 15:09:58 +07:00
fake_volume.py Fix VolumeAttachment is not bound to a Session 2019-03-15 11:29:25 +01:00
policy.json Add policy test for volume extend/retype/update_ro policy 2019-01-15 01:22:24 +00:00
test.py Merge "Kaminario: Fix unique_fqdn_network option" 2020-07-16 04:54:26 +00:00
test_api.py
test_api_urlmap.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_cleanable_manager.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_cmd.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_context.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_coordination.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_db_api.py Fix cross-project incremental backups 2020-05-21 09:38:25 -03:00
test_db_worker_api.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_evaluator.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_exception.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_fixtures.py Explicitly set expected log level for tests 2017-11-17 16:58:40 -06:00
test_hacking.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_image_utils.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_interface.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_manager.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_paginate_query.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_policy.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_qos_specs.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_quota.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_quota_utils.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_rpc.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_service.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_service_auth.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_setup_profiler.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_ssh_utils.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_test.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_test_utils.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_utils.py Improve tenacity retry sleep mocking 2020-06-03 16:39:28 -05:00
test_volume_cleanup.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume_configuration.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_volume_glance_metadata.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_volume_throttling.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_volume_transfer.py Fix: show volume transfer by name for non-admins 2020-08-03 12:46:31 +00:00
test_volume_types.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_volume_types_extra_specs.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_volume_utils.py Merge "Fix rekeying volume with legacy encryption provider" 2020-07-30 18:59:48 +00:00
utils.py Tests: Remove Python 2 compat file_spec code 2020-03-12 10:00:50 -04:00