deb-oslo.vmware/tests
Gary Kotton 4eadacdb75 VMware: raise more specific exceptions
In certain cases the exception handling for backend errors
would be handled too broadly. This patch elevates the backend exception
to the application so that it can treat specific errors.

In the application we can now handle the following specific exceptions:
- FileAlreadyExists - for example when moving a directory to a directory
that already exists
- InvalidProperty - for example when using neutron and opaque networks
are not supported
- AlreadyExists - for example a port group already exists
- NotAuthenticated - for example the operation is denied as because a
session is not established
- CannotDeleteFile - the file cannot be deleted
- FileFault - a file access exception
- FileLocked - an attempt is made to lock a file that is
already in use
- FileNotFound - the specific file does not exist

Change-Id: I789165f3879ec5df73f72c2737377e0fcfc99656
2014-02-21 15:59:47 -05:00
..
__init__.py Import necessary files from openstack.common 2014-02-20 06:50:26 -05:00
base.py Import necessary files from openstack.common 2014-02-20 06:50:26 -05:00
test_api.py VMware: raise more specific exceptions 2014-02-21 15:59:47 -05:00
test_image_transfer.py Move image transfer code in VMware drivers to OSLO 2014-02-21 12:04:42 +05:30
test_rw_handles.py Move read/write handles in VMware drivers to OSLO 2014-02-20 01:36:22 +05:30
test_vim_util.py Move utility methods in VMware drivers to OSLO 2014-02-20 07:39:08 -05:00
test_vim.py VMware: raise more specific exceptions 2014-02-21 15:59:47 -05:00
test_vmware.py Import necessary files from openstack.common 2014-02-20 06:50:26 -05:00