Part of libcloud.test.compute.test_dreamhost View Source View In Hierarchy
Method | setUp | Undocumented |
Method | test_invalid_creds | Tests the error-handling for passing a bad API Key to the DreamHost API |
Method | test_list_nodes | No summary |
Method | test_create_node | No summary |
Method | test_destroy_node | Test destroy_node for DreamHost PS driver |
Method | test_destroy_node_failure | Test destroy_node failure for DreamHost PS driver |
Method | test_reboot_node | Test reboot_node for DreamHost PS driver. |
Method | test_reboot_node_failure | Test reboot_node failure for DreamHost PS driver |
Method | test_resize_node | Test resize_node for DreamHost PS driver |
Method | test_resize_node_failure | Test reboot_node faliure for DreamHost PS driver |
Method | test_list_images | Test list_images for DreamHost PS driver. |
Method | test_list_sizes | Undocumented |
Method | test_list_locations | Undocumented |
Method | test_list_locations_response | Undocumented |
Inherited from TestCaseMixin:
Method | test_list_nodes_response | Undocumented |
Method | test_list_sizes_response | Undocumented |
Method | test_list_images_response | Undocumented |
Method | test_create_node_response | Undocumented |
Method | test_destroy_node_response | Undocumented |
Method | test_reboot_node_response | Undocumented |
Method | test_get_pricing_success | Undocumented |
Tests the error-handling for passing a bad API Key to the DreamHost API
Test list_nodes for DreamHost PS driver. Should return a list of two nodes: - account_id: 000000 ip: 75.119.203.51 memory_mb: 500 ps: ps22174 start_date: 2010-02-25 type: web - account_id: 000000 ip: 75.119.203.52 memory_mb: 1500 ps: ps22175 start_date: 2010-02-25 type: mysql
Test create_node for DreamHost PS driver. This is not remarkably compatible with libcloud. The DH API allows users to specify what image they want to create and whether to move all their data to the (web) PS. It does NOT accept a name, size, or location. The only information it returns is the PS's context id Once the PS is ready it will appear in the list generated by list_ps.