nova/nova/tests/unit/api/openstack
sunhao 4130ef8af0 Add checks for volume status when rebuilding
When rebuilding, we should only allow detaching
the volume with 'in-use' status, volume in status
such as 'retyping' should not allowed.

Change-Id: I7f93cfd18f948134c9cb429dea55740d2cf97994
Closes-Bug: #1489304
(cherry picked from commit 10e9a9b9fc)
(cherry picked from commit bcbeae2c60)
(cherry picked from commit 683005df39)
2020-09-08 16:12:47 +08:00
..
compute Add checks for volume status when rebuilding 2020-09-08 16:12:47 +08:00
__init__.py
common.py [python3] Webob request body should be bytes 2015-12-28 13:51:29 -05:00
fakes.py Plumbing for allowing the all-tenants filter with down cells 2019-02-08 16:28:45 -05:00
test_api_version_request.py Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
test_auth.py Noauth should also use request_id from compute_req_id.py 2018-04-04 14:21:01 -04:00
test_common.py Use admin neutron client to see if instance has qos ports 2019-11-25 10:14:56 +00:00
test_faults.py [Py34] api.openstack.test_faults.TestFaultWrapper 2015-12-10 20:56:42 +00:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_mapper.py [Py34] Enable api.openstack.test_mapper unit test 2015-10-05 18:59:28 +03:00
test_requestlog.py log test: use fixtures.StandardLogging in setUp 2018-01-04 10:38:49 +08:00
test_wsgi.py Fix best_match() deprecation warning 2018-12-17 06:53:35 +00:00