cinder/cinder/tests/unit
Slade Baumann 14ef9330b1 Add ConsistencyGroupStatus enum field
This change adds a new enum and field, ConsistencyGroupStatus and
ConsistencyGroupStatusField, that will hold the constants for the
'status' field of the ConsistencyGroup object. This enum and field
are based off the base oslo.versionedobjects enum and field. This
also changes over the ConsistencyGroup object to use the new field
(and bumps the version so newer versions know to enforce
valid values). Finally, all uses of strings for comparison and
assignment to this field are changed over to use the constants
defined within the enum.

Change-Id: Icee2727f0a550541876c63b6e7340acf3de553c8
Implements:  bp cinder-object-fields
2016-01-11 12:39:06 -06:00
..
api Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
backup test_backup_nfs: Set volume id per test 2015-10-06 17:57:18 -04:00
brick Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
compute Fix usage of novaclient 2015-09-14 20:03:35 +03:00
db Correct assertDictMatch argument order 2015-11-13 16:57:01 +00:00
glance Fix exception on uploading a volume to image with glance v2 API 2015-07-28 14:18:10 -04:00
image Fix volume upload failure with glance_api_version=2 2015-12-21 15:06:06 +09:00
integrated Fix order of arguments in assertEqual 2015-09-05 15:18:22 +08:00
keymgr Check context before returning cached value 2015-12-08 20:51:48 -05:00
monkey_patch_example Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
objects Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
scheduler Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
targets Robustify writing iscsi target persistence file 2015-12-02 19:13:58 -05:00
var Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
volume Add Fujitsu ETERNUS DX Volume Driver (again) 2015-12-30 08:59:16 +09:00
windows Merge "Port Windows drivers to Python 3" 2015-12-02 23:11:36 +00:00
wsgi Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
xenapi Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
zonemanager Port zonemanager to Python 3 2015-11-24 21:00:09 +01:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
cast_as_call.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
conf_fixture.py Revert "Disable backup progress notifications for unit tests" 2015-06-19 14:27:40 -04:00
declare_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_backup.py Add BackupStatus enum field 2016-01-04 14:32:52 +00:00
fake_consistencygroup.py Add backref relationships to ConsistencyGroup obj 2015-12-29 16:09:40 +01:00
fake_driver.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
fake_hpe_3par_client.py Refactor HP 3PAR drivers to now be HPE 2015-11-12 12:46:35 -08:00
fake_hpe_client_exceptions.py Refactor HP 3PAR drivers to now be HPE 2015-11-12 12:46:35 -08:00
fake_hpe_lefthand_client.py Refactor HP LeftHand driver to now be HPE 2015-11-17 13:38:07 -08:00
fake_notifier.py Tests: Make fake_notifier per-instance 2015-06-19 11:27:40 +02:00
fake_service.py Service object 2015-09-01 07:09:08 +00:00
fake_snapshot.py Implement refresh() for cinder objects 2015-12-14 19:59:54 -08:00
fake_utils.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
fake_vmem_client.py Adds the Violin Memory V7000 series FC driver. 2015-06-19 13:38:32 -07:00
fake_volume.py Add some missing fields to Volume object 2015-12-01 15:39:34 +01:00
policy.json Merge "Allow specified backend capabilities to be retrieved" 2015-09-01 19:29:42 +00:00
runtime_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_api.py Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
test_api_urlmap.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_backup.py Add BackupStatus enum field 2016-01-04 14:32:52 +00:00
test_backup_ceph.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_backup_driver_base.py Move import and export backup metadata to object 2015-08-14 10:24:53 +02:00
test_backup_swift.py Merge "Add backup_swift_auth_url to swift backup driver" 2015-10-15 00:07:52 +00:00
test_backup_tsm.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
test_block_device.py Implement snapshots-related features for Block Device Driver 2015-12-14 17:13:59 +02:00
test_blockbridge.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_cloudbyte.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_cmd.py Add BackupStatus enum field 2016-01-04 14:32:52 +00:00
test_coho.py Volume driver for Coho Data storage solutions 2015-12-06 21:31:33 -08:00
test_conf.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_context.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_coordination.py Tooz locks 2015-12-17 10:27:43 +00:00
test_db_api.py Improve metadata update operations 2015-11-25 16:49:57 +01:00
test_dellfc.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_dellsc.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_dellscapi.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_dothill.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_drbdmanagedrv.py DRBD: new option "drbdmanage_devs_on_controller". 2015-10-01 09:58:34 +02:00
test_emc_vmax.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_emc_vnx.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_emc_xtremio.py XtremIO: fix generic glance cache with XtremIO 2015-12-17 16:35:50 +02:00
test_eqlx.py Declare multiattach is True in Dell Eqlx driver 2015-11-26 09:10:38 +08:00
test_evaluator.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_exception.py Change default Exception code to 500 2015-10-13 11:52:47 -04:00
test_glusterfs.py Merge "Add manage_existing and unmanage to BaseVD" 2015-09-29 20:19:25 +00:00
test_gpfs.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_hacking.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_hitachi_hbsd_horcm_fc.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_hitachi_hbsd_snm2_fc.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_hitachi_hbsd_snm2_iscsi.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_hitachi_hnas_backend.py Adds manage/unmanage methods for HNAS drivers. 2015-08-17 22:15:01 -03:00
test_hitachi_hnas_iscsi.py HNAS iSCSI manage does not work with spaces 2015-10-02 10:14:01 -03:00
test_hitachi_hnas_nfs.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_hpe3par.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_hpe_xp_fc.py Add BackupStatus enum field 2016-01-04 14:32:52 +00:00
test_hpelefthand.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_huawei_drivers.py Merge "Remove duplicate keys from dictionary" 2016-01-08 14:26:03 +00:00
test_huawei_drivers_compatibility.py Rename Huawei drivers 2015-12-24 09:20:24 +08:00
test_ibm_flashsystem.py Merge "Hacking Checks for assertTrue/IsNone()" 2015-11-26 15:54:58 +00:00
test_ibm_flashsystem_iscsi.py Merge "Hacking Checks for assertTrue/IsNone()" 2015-11-26 15:54:58 +00:00
test_ibm_xiv_ds8k.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_image_utils.py Fix the bug of OSError when convert image 2015-11-23 22:44:39 +08:00
test_infortrend_cli.py Correct assertDictMatch argument order 2015-11-13 16:57:01 +00:00
test_infortrend_common.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_migrations.py Constant defined for sqlAlchemy VARCHAR & INTEGER 2016-01-06 14:49:39 +05:30
test_misc.py Remove downgrade migrations 2015-12-18 14:04:16 +02:00
test_netapp.py Port test_netapp to Python 3 2015-10-02 17:47:39 +02:00
test_netapp_nfs.py Revert use of netapp_lib from NetApp Drivers 2015-09-25 10:31:19 -04:00
test_netapp_ssc.py Revert use of netapp_lib from NetApp Drivers 2015-09-25 10:31:19 -04:00
test_nexenta_edge.py Nexenta Edge iSCSI backend driver 2015-11-25 17:37:37 -06:00
test_nfs.py Replace use of mox with mock in test_nfs 2015-12-30 16:44:44 +02:00
test_nimble.py Using extra-specs in cloned vols for Nimble driver 2015-11-02 14:16:16 -08:00
test_prophetstor_dpl.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_pure.py Merge "Fix delete_snapshot error case in Pure driver" 2016-01-07 22:41:59 +00:00
test_qos_specs.py Correct assertDictMatch argument order 2015-11-13 16:57:01 +00:00
test_quobyte.py Support insecure NAS security options in Quobyte 2015-10-27 16:26:52 +01:00
test_quota.py Add BackupStatus enum field 2016-01-04 14:32:52 +00:00
test_rbd.py Merge "Replace use of mox with mock in test_rbd" 2015-12-29 21:11:39 +00:00
test_remotefs.py RemoteFS: Fix the offline snapshot delete operation 2015-07-02 22:21:42 +03:00
test_replication.py Allow replicated volumes to be recoverable 2015-12-22 07:36:11 -08:00
test_san.py Port remote_fs driver to use new driver model 2015-06-08 13:02:03 +02:00
test_scality.py Scality SOFS: don't always read /proc/mounts twice 2016-01-04 15:35:54 +00:00
test_service.py Override osapi_volume_listen_port for test_workers 2015-12-18 11:02:27 -05:00
test_sheepdog.py Merge "Sheepdog: Fix a problem about multi backend" 2015-12-15 20:52:33 +00:00
test_smbfs.py SMBFS: Fix retrieving total allocated size 2015-10-22 18:08:58 +00:00
test_solidfire.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_ssh_utils.py Move ssh_utils tests to test_ssh_utils 2015-10-12 10:01:18 -04:00
test_storwize_svc.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_tegile.py Add volume driver for Tegile IntelliFlash array 2015-12-28 11:36:37 -08:00
test_test.py Fix tests failing in gate 2015-07-10 16:15:32 +02:00
test_test_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_tintri.py Retype functionality in Tintri driver 2015-12-09 11:25:28 -08:00
test_utils.py Robustify writing iscsi target persistence file 2015-12-02 19:13:58 -05:00
test_v7000_common.py Fix doc string definitions 2015-07-27 08:06:03 +03:00
test_v7000_fcp.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_vmware_datastore.py VMware: Skip unsupported datastore types 2015-11-24 16:59:13 +05:30
test_vmware_vmdk.py VMware: Add support for VVOL datastores 2015-12-17 03:33:53 -08:00
test_vmware_volumeops.py Fix Bad indentation pylint issues 2015-09-27 23:04:26 -07:00
test_volume.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_volume_configuration.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_volume_glance_metadata.py Cleanup for SnapshotObject 2015-08-31 16:53:30 +02:00
test_volume_rpcapi.py Move retype quota checks to API 2015-12-14 15:40:25 +00:00
test_volume_throttling.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_transfer.py Fix quotas issue during volume transfer 2015-11-25 23:52:01 -05:00
test_volume_types.py Filter out extra-specs from type get for non-admin 2015-08-25 17:57:55 -06:00
test_volume_types_extra_specs.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_volume_utils.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_vzstorage.py Port vzstorage to Python 3 2015-11-08 22:07:57 +01:00
test_xio.py Fix some warnings about 'unused variable' for XIO 2015-12-29 14:57:14 +08:00
test_zfssa.py Fix ZFSSA drivers' local cache bugs 2015-11-09 14:42:35 -05:00
utils.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00