]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add mock cases for IBM FlashSystem
authorYuanHui Xu <xuyhuish@cn.ibm.com>
Mon, 27 Jul 2015 04:13:49 +0000 (23:13 -0500)
committerYuanHui Xu <xuyhuish@cn.ibm.com>
Tue, 28 Jul 2015 01:37:56 +0000 (20:37 -0500)
commit7be055d4393c75734e94efae89bc16d0d253c9db
tree6196625627d991fc76272bad9fef38bd7b86b6e6
parent18578ded46a307a70b030c0dc3f4955273a584a1
Add mock cases for IBM FlashSystem

This patch adds the mock method into create_volume for the IBM
FlashSystem unittest code.

* Case for create_volume with mocked empty return value
* Case for create_volume with mocked error message for storage backend

Closes-Bug: #1477820
Change-Id: Ic96551b19ccde18943279f979b952d8eea45f1f7
cinder/tests/unit/test_ibm_flashsystem.py