cinder/cinder/tests/unit
Eric Harney e7b4670516 Move brick calls from cinder.utils to volume_utils
Move code that calls out to os-brick for connectors,
encryptors, etc., into volume_utils.

This leaves cinder/utils.py more general-purpose
cinder-wide code, which reduces unnecessary binding
between things like "cinder-manage db" and calls
that load much more of cinder's code (and external
libraries like os-brick).

This also means that some drivers only need to
import volume_utils and not cinder.utils.

Partial-Bug: #1912278
Change-Id: Ib2e2960ca354a47d303e0633c7d84e6da4b55b82
2021-02-10 17:27:46 -05:00
..
api Remove six of dir cinder/tests/unit/api/* 2020-10-10 14:53:47 +08:00
attachments Add support volume local cache 2020-09-09 03:42:50 +00:00
backup Move brick calls from cinder.utils to volume_utils 2021-02-10 17:27:46 -05:00
brick LVM: Use --readonly for lvs 2021-01-11 17:02:20 -05: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
db Default type overrides 2020-09-16 14:05:31 +00:00
glance
group Use resource_backend for volumes and groups 2020-08-14 08:13:42 +00:00
image Preparing for removal of six.reraise() 2020-10-13 09:32:21 -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 Import HTTPStatus instead of http_client (policy tests) 2020-10-13 10:00:20 -04:00
scheduler Remove six of dir cinder/tests/unit/policies&scheduler&targets/* 2020-10-08 10:58:09 +08:00
targets Remove six of dir cinder/tests/unit/policies&scheduler&targets/* 2020-10-08 10:58:09 +08:00
volume Move brick calls from cinder.utils to volume_utils 2021-02-10 17:27:46 -05:00
windows smbfs: pick up remotefs method signature change 2020-07-10 09:32:18 +03:00
zonemanager Remove six of dir cinder/tests/unit/volume&zonemanager/* 2020-10-08 11:13:32 +08:00
__init__.py
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 Default type overrides 2020-09-16 14:05:31 +00:00
fake_group.py
fake_group_snapshot.py
fake_notifier.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
fake_objects.py
fake_service.py
fake_snapshot.py Add context to cloning snapshots in remotefs driver 2019-07-10 10:41:15 +02:00
fake_utils.py Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
fake_volume.py Fix VolumeAttachment is not bound to a Session 2019-03-15 11:29:25 +01:00
policy.yaml [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
test.py [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
test_api.py Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
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 Fix cinder-manage <category> traceback 2020-11-04 11:36:57 +01: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 Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
test_db_worker_api.py Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
test_evaluator.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_exception.py Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
test_fixtures.py
test_hacking.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_image_utils.py Tests: Improve get_qemu_img_version coverage 2020-11-12 13:49:15 -05:00
test_interface.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_manager.py Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08: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 Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
test_quota.py Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
test_quota_utils.py Add support for system and domain scoped tokens 2020-09-24 10:19:37 -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 Refactor some unit tests 2020-10-14 11:01:02 +00:00
test_test.py Handle oslo.messaging ping endpoint 2020-09-03 17:04:17 -05:00
test_test_utils.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_utils.py Move brick calls from cinder.utils to volume_utils 2021-02-10 17:27:46 -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 Modify default/delete volume type logic 2020-08-19 02:07:15 +00: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 Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00
utils.py Remove six of files under cinder/test/unit 2020-10-14 09:19:08 +08:00