Add unit test for commit 22abe9081
Add unit test for commit 22abe9081

Commit 22abe9081 fixed a bug in commit d7bd65e8e which we could have
found the first time with a simple unit test.

This change adds the unit test to cover that new error handling block.

Related-Bug: #1398078

Change-Id: I86d2fd477f3ae5590c5f079a4c806d1f50eb96d0

takeshineshiro/cinder,julianwang/cinder,nexusriot/cinder,Accelerite/cinder,duhzecca/cinder,petrutlucian94/cinder,Datera/cinder,saeki-masaki/cinder,rakeshmi/cinder,CloudServer/cinder,abusse/cinder,manojhirway/ExistingImagesOnNFS,Akrog/cinder,winndows/cinder,petrutlucian94/cinder,leilihh/cinder,manojhirway/ExistingImagesOnNFS,abusse/cinder,julianwang/cinder,bswartz/cinder,j-griffith/cinder,winndows/cinder,nexusriot/cinder,mahak/cinder,potsmaster/cinder,JioCloud/cinder,scality/cinder,Datera/cinder,Paul-Ezell/cinder-1,saeki-masaki/cinder,openstack/cinder,nikesh-mahalka/cinder,phenoxim/cinder,NetApp/cinder,bswartz/cinder,apporc/cinder,phenoxim/cinder,j-griffith/cinder,takeshineshiro/cinder,hguemar/cinder,Hybrid-Cloud/cinder,tlakshman26/cinder-bug-fix-volume-conversion-full,scottdangelo/RemoveVolumeMangerLocks,potsmaster/cinder,cloudbase/cinder,Nexenta/cinder,tlakshman26/cinder-bug-fix-volume-conversion-full,CloudServer/cinder,apporc/cinder,blueboxgroup/cinder,NetApp/cinder,leilihh/cinder,Nexenta/cinder,rakeshmi/cinder,hguemar/cinder,dims/cinder,nikesh-mahalka/cinder,blueboxgroup/cinder,eharney/cinder,dims/cinder,duhzecca/cinder,tlakshman26/cinder-https-changes,tlakshman26/cinder-new-branch,Paul-Ezell/cinder-1,openstack/cinder,ge0rgi/cinder,scality/cinder,eharney/cinder,tlakshman26/cinder-https-changes,sasukeh/cinder,JioCloud/cinder,scottdangelo/RemoveVolumeMangerLocks,Akrog/cinder,tlakshman26/cinder-new-branch,sasukeh/cinder,Hybrid-Cloud/cinder,cloudbase/cinder,Accelerite/cinder,mahak/cinder