cinder/cinder/tests/unit
Vipin Balachandran 525e27331d Raise BadRequest for invalid replication status
Raise HTTPBadRequest instead of HTTPNotFound while creating
a volume from an existing source replica with invalid replication
status 'disabled'.

APIImpact

Change-Id: If7ac01a9452dca0446088189b658340da538c427
Closes-Bug: #1471694
2015-07-15 15:21:57 +05:30
..
api Raise BadRequest for invalid replication status 2015-07-15 15:21:57 +05:30
backup Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
brick Update expected error message from lvs 2015-07-03 14:36:23 -05:00
compute Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
db Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
glance Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
image Port image/glance.py to Python 3 2015-07-02 13:33:28 +02:00
integrated Replace urllib and urllib2 with six.moves.urllib 2015-06-10 18:52:26 +02:00
keymgr Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
monkey_patch_example Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
objects Avoid race condition at snapshot deletion stage 2015-07-02 15:50:01 +03:00
scheduler Merge "Add unit tests for the capacity filter" 2015-07-06 18:47:13 +00:00
targets Fix Python 3 issues in targets unit tests 2015-06-30 16:23:13 +02:00
var Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
volume Merge "Fix 'no actual-pathname' NetApp API error" 2015-06-28 03:34:36 +00:00
windows Windows SMBFS: Fix image resize errors during volume creation 2015-05-11 16:08:35 +03:00
xenapi Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
zonemanager Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
__init__.py Use six to fix imports on Python 3 2015-06-11 17:19:19 +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 Fix backups.rpcapi to pass objects over RPC 2015-06-23 15:42:00 +02:00
fake_driver.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
fake_hp_3par_client.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hp_client_exceptions.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hp_lefthand_client.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_notifier.py Tests: Make fake_notifier per-instance 2015-06-19 11:27:40 +02:00
fake_snapshot.py Avoid race condition at snapshot deletion stage 2015-07-02 15:50:01 +03:00
fake_utils.py Replace basestring with six.string_types 2015-06-16 22:37:20 +02:00
fake_vmem_client.py Adds the Violin Memory V7000 series FC driver. 2015-06-19 13:38:32 -07:00
fake_volume.py Switch to oslo_versionedobjects 2015-05-13 08:36:53 -07:00
policy.json Move unit tests into dedicated directory 2015-04-21 18:40:40 -06: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 Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backup.py Fix backup.rpcapi to pass object backup 2015-07-01 16:37:15 +08:00
test_backup_ceph.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
test_backup_driver_base.py Fix Python 3 issues in backup 2015-06-24 17:11:05 +02:00
test_backup_swift.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +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 Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_blockbridge.py Merge "Fix Python 3 issues in the blockbridge driver" 2015-06-29 02:52:05 +00:00
test_cloudbyte.py Add chap support to CloudByte cinder driver 2015-05-29 11:17:51 +05:30
test_cmd.py Fix Python 3 issues in cmd 2015-07-02 13:42:20 +02:00
test_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_context.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_create_volume_flow.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_db_api.py Port test_db_api to Python 3 2015-06-30 15:32:08 +02:00
test_dellfc.py Dell SC driver honoring folder name after volume creation. 2015-05-12 12:42:09 -05:00
test_dellsc.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_dellscapi.py Merge "Dell SC: Enable use of Storage Profiles" 2015-06-25 18:42:07 +00:00
test_dothill.py Port dothill to Python 3 2015-07-01 10:50:58 +02:00
test_drbdmanagedrv.py Port drbdmanagedrv driver to Python 3 2015-06-30 16:01:54 +02:00
test_emc_vmax.py Switch to oslo.service 2015-06-24 21:55:32 +02:00
test_emc_vnxdirect.py Merge "Fix timeout issue in EMC VNX driver unit test" 2015-07-01 21:45:52 +00:00
test_emc_xtremio.py XtremIO driver fix array snapshot problem 2015-06-29 18:51:36 +03:00
test_eqlx.py Merge "Eqlx: Fixes the retries on Network Connection Error" 2015-05-08 18:03:04 +00:00
test_evaluator.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_exception.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_glusterfs.py Port remote_fs driver to use new driver model 2015-06-08 13:02:03 +02:00
test_gpfs.py Leverage dict comprehension in PEP-0274 2015-05-22 10:06:00 +08:00
test_hacking.py Leverage dict comprehension in PEP-0274 2015-05-22 10:06:00 +08:00
test_hitachi_hbsd_horcm_fc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hbsd_snm2_fc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hbsd_snm2_iscsi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hnas_backend.py Move HDS drivers to Hitachi folder 2015-06-30 11:48:28 -03:00
test_hitachi_hnas_iscsi.py Move HDS drivers to Hitachi folder 2015-06-30 11:48:28 -03:00
test_hitachi_hnas_nfs.py Move HDS drivers to Hitachi folder 2015-06-30 11:48:28 -03:00
test_hp3par.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hp_xp_fc.py Volume driver for HP XP storage 2015-06-16 20:30:07 +09:00
test_hplefthand.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_huawei_18000.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_huawei_drivers_compatibility.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_ibm_flashsystem.py Separate FlashSystem FC and iSCSI common code 2015-07-06 01:05:36 +00:00
test_ibm_flashsystem_iscsi.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_ibm_xiv_ds8k.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_ibmnas.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_image_utils.py Disallow backing files when uploading volumes to image 2015-06-15 11:33:27 -04:00
test_infortrend_cli.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_infortrend_common.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_migrations.py Nested Quota : Create allocated column in cinder.quotas 2015-06-19 10:22:45 -07:00
test_misc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_netapp.py Merge "Replace dict.iteritems() with dict.items()" 2015-06-15 22:10:18 +00:00
test_netapp_eseries_iscsi.py NetApp E-Series: Refactor class structure for FC 2015-06-11 10:21:37 -04:00
test_netapp_nfs.py Add standard QoS spec support to cDOT drivers 2015-05-27 21:40:24 +00:00
test_netapp_ssc.py Merge "Replace dict.iteritems() with dict.items()" 2015-06-15 22:10:18 +00:00
test_nfs.py Fix missing translations for log messages 2015-05-12 03:05:38 +05:30
test_nimble.py Replace urllib and urllib2 with six.moves.urllib 2015-06-10 18:52:26 +02:00
test_openvstorage.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_prophetstor_dpl.py Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
test_pure.py Port remote_fs driver to use new driver model 2015-06-08 13:02:03 +02:00
test_qos_specs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_quota.py Merge "Add config option to set max_volume_size_limit" 2015-06-17 16:44:29 +00:00
test_rbd.py Add dependency check in RBD delete_snapshot 2015-06-30 01:39:11 +00:00
test_remotefs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_replication.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_san.py Port remote_fs driver to use new driver model 2015-06-08 13:02:03 +02:00
test_scality.py tests: replace mox by mox3, clean out mox usage 2015-05-05 10:15:52 +02:00
test_service.py Add exception catch in report_state for DBError 2015-06-22 18:17:39 -05:00
test_sheepdog.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_smbfs.py smbfs: fix invalid check for smbfs_used_ratio correctness 2015-06-30 19:06:08 +03:00
test_solidfire.py Modify template account creation in SolidFire drvr 2015-06-23 16:36:41 -07:00
test_srb.py Fix assertRaisesRegexp deprecation warnings in UT 2015-06-02 18:48:26 +02:00
test_storpool.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_storwize_svc.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_test.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_test_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_tintri.py Tintri driver to manage existing backend storage objects 2015-06-11 14:14:58 -07:00
test_utils.py Remove generate_glance_url 2015-06-24 09:46:45 +01:00
test_v6000_common.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_v6000_fcp.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_v6000_iscsi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_v7000_common.py Adds the Violin Memory V7000 series FC driver. 2015-06-19 13:38:32 -07:00
test_v7000_fcp.py Mock socket.gethostbyaddr in test_v7000_fcp 2015-07-01 08:41:03 +02:00
test_vmware_datastore.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_vmware_vmdk.py VMware: Remove unused methods 2015-06-18 17:38:34 +05:30
test_vmware_volumeops.py VMware: Handle concurrent inventory folder create 2015-04-23 01:49:20 -07:00
test_volume.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_volume_configuration.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_glance_metadata.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_volume_rpcapi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_throttling.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_transfer.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_types.py Do not allow to modify access for public volume type 2015-06-30 11:37:20 +08:00
test_volume_types_extra_specs.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_volume_utils.py Notification with volume and snapshot metadata 2015-05-30 09:14:27 +08:00
test_vzstorage.py Add Virtuozzo Storage Volume Driver 2015-06-18 20:14:34 +03:00
test_wsgi.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_zfssa.py Re-integrate Oracle iSCSI Cinder driver 2015-06-09 13:50:37 -04:00
utils.py Switch to oslo.service 2015-06-24 21:55:32 +02:00