cinder/cinder/tests/unit
TommyLike 8031fb1e98 Add 'connection_info' to attachment object
There are some issues around new attach/detach API/CLI,
fix them step by step. This patch added attribute
'connection_info' to attachment object, also add related
testcases in API unit testcases.

Depends-On: 87982a5677
Closes-Bug: #1681297

Change-Id: Idbc1049e8adf1d5b955bda01d58bb6b89fc6c5c7
2017-04-19 17:44:48 +08:00
..
api Merge "[BugFix] Add method policy in attachment APIs" 2017-04-13 16:35:05 +00:00
attachments Add 'connection_info' to attachment object 2017-04-19 17:44:48 +08:00
backup Fix error status check when create backup 2017-03-29 17:17:55 +08:00
brick Merge "Add unit test for brick/local_dev/lvm.py: create_volume" 2017-04-12 20:07:11 +00:00
compute Change nova_catalog_admin_info to default to publicURL 2017-02-14 09:49:29 -05:00
consistencygroup Remove unused CG code 2017-03-19 00:49:10 -04:00
db Merge "DB: Optimize update methods" 2017-02-14 19:30:40 +00:00
glance Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
group Update db from drivers in default groups methods 2017-03-17 11:08:06 -04:00
image Fix some format error in docstrings 2017-03-30 10:01:18 +08:00
keymgr Modifies override logic for key_manager 2016-09-21 11:01:59 -04:00
message Clean up expired user messages 2017-04-18 01:09:19 +00:00
monkey_patch_example
objects Add 'connection_info' to attachment object 2017-04-19 17:44:48 +08:00
scheduler Clean up expired user messages 2017-04-18 01:09:19 +00:00
targets Attach/Delete volume for tgt driver race condition fix 2016-12-26 10:15:21 +00:00
volume Merge "3PAR: Enable HPE-3PAR Compression Feature" 2017-04-18 17:11:06 +00:00
windows Merge "Fix config option volume_backend_name's invalid overridden value" 2017-04-10 15:22:27 +00:00
zonemanager Resolve Brocade HTTPS connection error 2017-02-01 22:30:23 +01:00
__init__.py Remove nosetests i18n fix 2016-11-29 18:16:59 +02:00
cast_as_call.py
conf_fixture.py Merge two fake drivers into the one FakeLoggingVolumeDriver 2016-09-09 14:37:21 +00:00
fake_cluster.py Update Versioned Objects with Cluster object 2016-07-22 21:00:08 +02:00
fake_constants.py Update db from drivers in default groups methods 2017-03-17 11:08:06 -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 Short-circuit notifications when not enabled 2017-01-30 12:31:45 +01:00
fake_objects.py
fake_service.py Update is_up from Service OVO class to match ORM 2016-12-21 20:55:37 +01:00
fake_snapshot.py Add volume to fake snapshot object 2017-01-17 16:55:44 +05:30
fake_utils.py Remove unused function from unit/fake_utils.py 2016-08-30 15:09:58 +07:00
fake_volume.py Add get_all capability to volume_attachments 2016-12-16 14:25:21 -07:00
policy.json [BugFix] Add method policy in attachment APIs 2017-04-12 15:57:52 +08:00
test_api.py
test_api_urlmap.py Replace use of mox with mock in test_api_urlmap 2016-07-01 17:17:44 +03:00
test_cleanable_manager.py Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
test_cmd.py Tests: Remove the redundant methods 2017-04-10 15:22:34 +00:00
test_context.py Use context.from_dict to determine available arguments 2016-07-12 13:38:55 +10:00
test_coordination.py Update synchronized decorator 2016-10-12 10:25:33 -05:00
test_db_api.py Clean up expired user messages 2017-04-18 01:09:19 +00:00
test_db_worker_api.py Prevent claiming and updating races on worker 2017-01-19 10:42:24 +01:00
test_evaluator.py
test_exception.py Remove cinder/tests/unit/test_misc.py 2016-08-31 17:00:58 +03:00
test_fixtures.py
test_hacking.py Remove hacking check for log translation 2017-03-18 03:00:12 -05:00
test_image_utils.py Separate out routine for getting qemu_img_info 2017-04-03 21:42:08 -04:00
test_migrations.py Prevent claiming and updating races on worker 2017-01-19 10:42:24 +01:00
test_paginate_query.py Don't use None value for sql query. 2017-02-04 09:31:27 +08:00
test_qos_specs.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_quota.py Add an optional db session argument to cinder.db.sqlalchemy.api. 2017-03-30 09:12:21 -04:00
test_quota_utils.py Cinder consistency group returning generic error message 2016-12-21 12:52:06 +08:00
test_rpc.py Fix notification short-circuit 2017-02-01 17:11:14 +01:00
test_service.py Make Replication support Active-Active 2017-01-19 10:42:18 +01:00
test_setup_profiler.py Support new osprofiler API 2016-12-15 15:46:56 +07:00
test_ssh_utils.py Merge "Change assertTrue(isinstance()) with optimal assert" 2016-08-30 13:13:54 +00:00
test_test.py Updated unit tests to use official unittest methods 2016-06-29 21:49:50 +00:00
test_test_utils.py
test_utils.py Fix notification short-circuit 2017-02-01 17:11:14 +01:00
test_volume_cleanup.py Clean up image tmp file if c-vol gets restarted 2017-01-17 17:28:39 +08:00
test_volume_configuration.py
test_volume_glance_metadata.py
test_volume_throttling.py
test_volume_transfer.py Remove race conditions from transfer API 2016-11-09 11:00:42 -06:00
test_volume_types.py Merge "DB: Optimize update methods" 2017-02-14 19:30:40 +00:00
test_volume_types_extra_specs.py
test_volume_utils.py Enforce _usage_from_snapshot to fetch info from deleted volume 2017-02-23 15:00:50 -03:00
utils.py Fix Pep8 Failures for Python3 2017-02-13 12:01:12 -06:00