cinder/cinder/tests/unit/api
Vipin Balachandran b5e84020ae Raise HTTP exception for backup not found
If backup cannot be found while resetting its status, Cinder
exception (BackupNotFound) is raised instead of HTTP exception.
This patch handles the BackupNotFound exception and raises
HTTPNotFound exception.

APIImpact
HTTPNotFound exception (404) is raised instead of BackupNotFound
if backup cannot be found during backup reset-status.

Change-Id: I5a41c71a83c05d09c6d1e2e506adca6cfbe3e890
Closes-Bug: #1474748
2015-07-15 14:21:46 +05:30
..
contrib Raise HTTP exception for backup not found 2015-07-15 14:21:46 +05:30
extensions Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
middleware Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
openstack Replace xrange() with six.moves.range() 2015-06-16 10:46:40 +02:00
v1 Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
v2 Merge "Remove useless logging from unit tests" 2015-07-15 00:23:57 +00:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
common.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_common.py Don't truncate osapi_volume_link prefixes 2015-04-24 11:24:17 +08:00
test_extensions.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_router.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_versions.py Fix wrong response with version details 2015-05-27 08:13:34 +08:00
test_wsgi.py Fix unit tests spam output 2015-05-05 19:32:33 +03:00
test_xmlutil.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00