cinder/cinder/tests/unit/backup
wangxiyuan dd66afbd1d Set backup available after verify
In backup import request, the backup is set to available before
it is verified. Then if the verification failed, the backup's
status is set to error. This leads to an unreasonble status change:
creating -> available -> error.

The available status should be set after the verification when
all work is done. And the status change should be like:
creating -> available, or creating -> error

Closes-bug: #1669628
Change-Id: I67f30df8a8112c953f24f6d2f7d5152416d4f0df
2017-03-03 10:19:15 +08:00
..
drivers Merge "Fix Pep8 Failures for Python3" 2017-02-16 05:22:15 +00:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_backup.py Move all backups related unit tests to backup directory 2016-05-26 17:09:33 +03:00
fake_google_client.py Use googleapiclient import instead of apiclient 2016-03-11 12:19:01 +01:00
fake_google_client2.py Add cinder backup driver for Google Cloud Storage 2016-01-18 23:28:23 +05:30
fake_service.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
fake_service_with_verify.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
fake_swift_client.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
fake_swift_client2.py Switch to the oslo_utils.fileutils 2015-08-20 07:47:48 +00:00
test_backup.py Set backup available after verify 2017-03-03 10:19:15 +08:00
test_rpcapi.py Refactor backup RPC API test cases 2017-01-23 11:14:10 +01:00