nova/nova/tests/unit/api
Kevin_Zheng 1b59d60f95 Catch exception.OverQuota when create image for volume backed instance
When create image for a volume backed instance, nova will
create snapshots for all volumes attached to the instance
in Cinder, and if quota exceed in Cinder, HTTP 500 will
raise, we should capture this error and raise 403.

Change-Id: Ic62478e22a7477cfaefac3e63c383082d66bd635
Closes-Bug: #1689284
(cherry picked from commit 29c8ae3cd9)
2017-05-23 06:28:00 +00:00
..
openstack Catch exception.OverQuota when create image for volume backed instance 2017-05-23 06:28:00 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_auth.py conf: Move api options to a group 2016-11-25 16:32:31 -06:00
test_compute_req_id.py Fixes python 3 unit tests 2016-09-23 20:10:24 +00:00
test_wsgi.py Capture stdout in for test_wsgi:test_debug 2016-09-26 06:45:08 -04:00