cinder/cinder/tests
ling-yun ed41b6804a Update quota-set throw 500 error
The server doesn't check whether the parameter "quota_set" or
"quota_class_set" is in request
body.So the 500 error has been thrown.

We should catch the KeyError and transfer the KeyError to
400(HTTPBadRequest) instead of 500.

Closes-Bug: #1249971
(cherry picked from commit 2ed2f3aff8)
Change-Id: I01260c77efa50324f3d203888689cdb1e94d2c21
2014-02-10 14:29:01 +08:00
..
api Update quota-set throw 500 error 2014-02-10 14:29:01 +08:00
backup Fixes ceph volume restore to larger image than source 2013-09-16 12:05:54 +01:00
brick LVM: Activate source LV before cloning from it 2013-12-04 10:29:55 -05:00
compute QEMU-assisted-snapshots for GlusterFS volumes 2013-09-03 23:49:50 -04:00
db Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
glance Make glance image service check base exception classes 2012-08-22 16:27:56 -06:00
image Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
integrated Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
keymgr Add key manager implementation with static key 2013-10-02 21:48:29 -06:00
monkey_patch_example Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
scheduler Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
var Support for SSL in wsgi.Server 2013-01-14 15:55:16 -05:00
windows Add support for Havana missing features in Windows driver 2013-09-01 08:20:24 +02:00
xenapi Add XenAPINFSDriver 2012-11-21 15:03:35 +00:00
__init__.py Fix up the test framework 2013-06-14 14:02:17 +00:00
conf_fixture.py Add key manager implementation with static key 2013-10-02 21:48:29 -06:00
declare_conf.py Rename cinder.flags to cinder.common.config 2013-07-03 11:28:57 +04:00
fake_driver.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
fake_flags.py Merge "Adding support for iSER transport protocol" 2013-08-05 21:40:53 +00:00
fake_utils.py Removes exception instance creation on execute() 2013-08-27 09:37:46 +08:00
policy.json New update_snapshot_status API 2013-09-03 08:37:43 -04:00
runtime_conf.py Rename cinder.flags to cinder.common.config 2013-07-03 11:28:57 +04:00
test_HpSanISCSIDriver.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_api.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
test_api_urlmap.py Add tests for cinder/api/urlmap.py 2013-07-11 11:30:00 +04:00
test_backup.py Enforce driver is initialized 2013-09-19 20:36:04 -07:00
test_backup_ceph.py Use pipe between ceph backup diff export/import 2013-10-30 17:25:08 +00:00
test_backup_swift.py Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
test_backup_tsm.py Removes exception instance creation on execute() 2013-08-27 09:37:46 +08:00
test_block_device.py Fail when image is bigger than the volume 2013-11-13 12:48:09 +01:00
test_conf.py Utilizes assertIn and assertNotIn 2013-08-30 22:52:31 +08:00
test_context.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_coraid.py Fail when image is bigger than the volume 2013-11-13 12:48:09 +01:00
test_create_volume_flow.py Merge "Fixing UnicodeEncodeError against volume creating function" 2013-09-13 06:14:49 +00:00
test_db_api.py Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
test_drivers_compatibility.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_emc.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_eqlx.py Adds Dell EqualLogic volume driver for Cinder 2013-09-11 07:33:01 -06:00
test_exception.py Replace assertEquals with assertEqual - 2/2 2013-09-09 15:50:56 +08:00
test_glusterfs.py GlusterFS: Set correct permissions for volume file created via clone 2013-11-27 12:24:43 -05:00
test_gpfs.py Merge "GPFS Driver missing clone depth limit for snapshots" 2013-09-24 06:32:28 +00:00
test_hds.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_hp3par.py Fix HP3PAR iSCSI path connection 2013-09-20 08:41:44 -07:00
test_huawei_hvs.py Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
test_huawei_t_dorado.py Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
test_image_utils.py Fail when image is bigger than the volume 2013-11-13 12:48:09 +01:00
test_iscsi.py Remove need for CONF acces in brick iscsi 2013-10-02 21:23:07 -06:00
test_iser.py Clean CONF out of brick iser 2013-10-03 09:33:34 -07:00
test_migrations.conf Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
test_migrations.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_misc.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_netapp.py Merge "NetApp check for 7 mode controller version" 2013-09-23 06:20:05 +00:00
test_netapp_nfs.py Remove CONF from brick remotefs 2013-10-01 16:24:16 -07:00
test_netapp_ssc.py NetApp fix mirrored stats 2013-10-21 06:35:56 +05:30
test_nexenta.py Remove CONF from brick remotefs 2013-10-01 16:24:16 -07:00
test_nfs.py Fail when image is bigger than the volume 2013-11-13 12:48:09 +01:00
test_policy.py Remove deprecated assert_() usage 2013-09-06 09:02:50 +08:00
test_qos_specs.py Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
test_quota.py Utilize assertIsInstance 2013-09-06 01:42:07 +00:00
test_rbd.py Fail when image is bigger than the volume 2013-11-13 12:48:09 +01:00
test_scality.py Fail when image is bigger than the volume 2013-11-13 12:48:09 +01:00
test_service.py Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
test_sheepdog.py Removes exception instance creation on execute() 2013-08-27 09:37:46 +08:00
test_solidfire.py Fix broken solidfire create-snapshot 2013-10-04 09:46:33 +02:00
test_storwize_svc.py Fix Storwize terminate_connection with no host 2013-12-03 08:45:41 +02:00
test_test.py Fix python 3 pep8 errors for print 2013-08-21 16:59:22 -06:00
test_test_utils.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_utils.py Allow spaces in quoted SSH command arguments 2013-11-01 09:47:24 -05:00
test_vmware_vmdk.py Merge "VMware: Disallow snapshot of attached volume" into milestone-proposed 2013-10-10 22:57:52 +00:00
test_volume.py LVM migration: Check if name is equal to dest_vg 2013-12-09 23:26:26 +01:00
test_volume_configuration.py Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
test_volume_glance_metadata.py Add call to retrieve image metadata for volumes in bulk 2013-11-18 09:54:24 -06:00
test_volume_rpcapi.py Call to_primitive on volumes.rpcapi.create_volume 2013-09-10 11:29:16 +02:00
test_volume_transfer.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_volume_types.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_volume_types_extra_specs.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_volume_utils.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_windows.py Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
test_wsgi.py Fix translation of CinderExceptions in REST API 2013-09-25 20:07:38 +00:00
test_xenapi_sm.py Pass the size when fetching image in xenapi driver 2013-11-27 23:54:56 +01:00
test_xiv_ds8k.py Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
test_zadara.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
utils.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00