when  create temp snapshot returns  self client getvolume snap name the value is mocked out so this call fails create temp snapshot needs to be mocked to return a snapshot object with name osv  dm qzevskon a to match below  or the client call to getvolume can be mocked to return this dict 