Part of libcloud.test.compute.test_abiquo View Source View In Hierarchy
Abiquo Node Driver test suite
Method | setUp | Set up the driver with the main user |
Method | test_unauthorized_controlled | Test the Unauthorized Exception is Controlled. |
Method | test_forbidden_controlled | Test the Forbidden Exception is Controlled. |
Method | test_handle_other_errors_such_as_not_found | Test common 'logical' exceptions are controlled. |
Method | test_ex_create_and_delete_empty_group | Test the creation and deletion of an empty group. |
Method | test_create_node_no_image_raise_exception | Test 'create_node' without image. |
Method | test_create_node_specify_location | Test you can create a node specifying the location. |
Method | test_create_node_specify_wrong_location | Test you can not create a node with wrong location. |
Method | test_create_node_specify_wrong_image | Test image compatibility. |
Method | test_create_node_specify_group_name | Test 'create_node' into a concrete group. |
Method | test_create_group_location_does_not_exist | Test 'create_node' with an unexistent location. |
Method | test_destroy_node_response | 'destroy_node' basic test. |
Method | test_destroy_node_response_failed | 'destroy_node' asynchronous error. |
Method | test_destroy_node_allocation_state | Test the 'destroy_node' invalid state. |
Method | test_destroy_not_deployed_group | Test 'ex_destroy_group' when group is not deployed. |
Method | test_destroy_deployed_group | Test 'ex_destroy_group' when there are machines running. |
Method | test_destroy_deployed_group_failed | Test 'ex_destroy_group' fails. |
Method | test_destroy_group_invalid_state | Test 'ex_destroy_group' invalid state. |
Method | test_run_node | Test 'ex_run_node' feature. |
Method | test_run_node_invalid_state | Test 'ex_run_node' invalid state. |
Method | test_run_node_failed | Test 'ex_run_node' fails. |
Inherited from TestCaseMixin:
Method | test_list_nodes_response | Undocumented |
Method | test_list_sizes_response | Undocumented |
Method | test_list_images_response | Undocumented |
Method | test_list_locations_response | Undocumented |
Method | test_create_node_response | Undocumented |
Method | test_reboot_node_response | Undocumented |
Method | test_get_pricing_success | Undocumented |
Test the Unauthorized Exception is Controlled. Test, through the 'login' method, that a '401 Unauthorized' raises a 'InvalidCredsError' instead of the 'MalformedUrlException'
Test the Forbidden Exception is Controlled. Test, through the 'list_images' method, that a '403 Forbidden' raises an 'ForbidenError' instead of the 'MalformedUrlException'
Test common 'logical' exceptions are controlled. Test that common exception (normally 404-Not Found and 409-Conflict), that return an XMLResponse with the explanation of the errors are controlled.
Test the creation and deletion of an empty group.
Test 'create_node' without image. Test the 'create_node' function without 'image' parameter raises an Exception
Test you can create a node specifying the location.
Test you can not create a node with wrong location.
Test image compatibility. Some locations only can handle a group of images, not all of them. Test you can not create a node with incompatible image-location.
Test 'create_node' with an unexistent location. Defines a 'fake' location and tries to create a node into it.
'destroy_node' basic test. Override the destroy to return a different node available to be undeployed. (by default it returns an already undeployed node, for test creation).
'destroy_node' asynchronous error. Test that the driver handles correctly when, for some reason, the 'destroy' job fails.
Test the 'destroy_node' invalid state. Try to destroy a node when the node is not running.
Test 'ex_destroy_group' when group is not deployed.
Test 'ex_destroy_group' when there are machines running.
Test 'ex_destroy_group' fails. Test driver handles correctly when, for some reason, the asynchronous job fails.
Test 'ex_destroy_group' invalid state. Test the Driver raises an exception when the group is in invalid temporal state.
Test 'ex_run_node' invalid state. Test the Driver raises an exception when try to run a node that is in invalid state to run.
Test 'ex_run_node' fails. Test driver handles correctly when, for some reason, the asynchronous job fails.