Module Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Str NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num keyword Str keyword Str keyword AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword Num keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Str Num Num NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num keyword Str keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad AttributeLoad NameLoad attr NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr
N/A N/A sys N/A unittest libcloud.utils.py3 httplib libcloud.compute.base Node NodeSize NodeImage NodeLocation libcloud.compute.drivers.voxel VoxelNodeDriver Voxel libcloud.compute.types InvalidCredsError libcloud.test MockHttp libcloud.test.file_fixtures ComputeFileFixtures libcloud.test.secrets VOXEL_PARAMS VoxelTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A Voxel connectionCls conn_classes N/A None VoxelMockHttp N/A N/A VoxelMockHttp type None N/A N/A self driver N/A Voxel VOXEL_PARAMS N/A test_auth_failed N/A N/A self N/A N/A N/A N/A VoxelMockHttp type UNAUTHORIZED N/A N/A N/A N/A N/A N/A self driver list_nodes N/A N/A N/A Exception N/A N/A e N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A self assertTrue N/A isinstance e InvalidCredsError N/A N/A N/A N/A self fail test should have thrown N/A test_response_failure N/A N/A self N/A N/A N/A N/A VoxelMockHttp type FAILURE N/A N/A N/A N/A N/A N/A self driver list_nodes N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A self fail Invalid response, but exception was not thrown N/A test_list_nodes N/A N/A self N/A N/A N/A N/A VoxelMockHttp type LIST_NODES N/A nodes N/A N/A N/A self driver list_nodes N/A N/A N/A self assertEqual N/A len nodes 1 N/A N/A N/A self assertEqual N/A N/A nodes N/A 0 name www.voxel.net N/A test_list_sizes N/A N/A self N/A N/A N/A sizes N/A N/A N/A self driver list_sizes N/A N/A N/A self assertEqual N/A len sizes 13 N/A test_list_images N/A N/A self N/A N/A N/A N/A VoxelMockHttp type LIST_IMAGES N/A images N/A N/A N/A self driver list_images N/A N/A N/A self assertEqual N/A len images 1 N/A test_list_locations N/A N/A self N/A N/A N/A N/A VoxelMockHttp type LIST_LOCATIONS N/A locations N/A N/A N/A self driver list_locations N/A N/A N/A self assertEqual N/A len locations 2 N/A N/A N/A self assertEqual N/A N/A locations N/A 0 name Amsterdam N/A test_create_node_invalid_disk_size N/A N/A self N/A N/A N/A image N/A NodeImage id 1 name Ubuntu 8.10 (intrepid) driver N/A self driver N/A size N/A NodeSize 1 256 slice None None None None driver N/A self driver N/A location N/A NodeLocation id 1 name Europe country England driver N/A self driver N/A N/A N/A N/A N/A N/A self driver create_node name foo image image size size location location N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A self fail Invalid disk size provided but an exception was not thrown N/A test_create_node N/A N/A self N/A N/A N/A N/A VoxelMockHttp type CREATE_NODE N/A image N/A NodeImage id 1 name Ubuntu 8.10 (intrepid) driver N/A self driver N/A size N/A NodeSize 1 256 slice 1024 500 None None driver N/A self driver N/A location N/A NodeLocation id 1 name Europe country England driver N/A self driver N/A node N/A N/A N/A self driver create_node name foo image image size size location location N/A N/A N/A self assertEqual N/A node id 1234 N/A node N/A N/A N/A self driver create_node name foo image image size size location location voxel_access True N/A N/A N/A self assertEqual N/A node id 1234 N/A test_reboot_node N/A N/A self N/A N/A N/A N/A VoxelMockHttp type REBOOT_NODE N/A node N/A Node id 72258 name None state None public_ips None private_ips None driver N/A self driver N/A N/A N/A self assertTrue N/A N/A node reboot N/A test_destroy_node N/A N/A self N/A N/A N/A N/A VoxelMockHttp type DESTROY_NODE N/A node N/A Node id 72258 name None state None public_ips None private_ips None driver N/A self driver N/A N/A N/A self assertTrue N/A N/A node destroy N/A N/A VoxelMockHttp N/A MockHttp N/A N/A fixtures N/A ComputeFileFixtures voxel _UNAUTHORIZED N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load unauthorized.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A _FAILURE N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load failure.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A _LIST_NODES N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load nodes.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A _LIST_IMAGES N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load images.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A _LIST_LOCATIONS N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load locations.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A _CREATE_NODE N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load create_node.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A _REBOOT_NODE N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load success.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A _DESTROY_NODE N/A N/A self method url body headers N/A N/A N/A body N/A N/A N/A self fixtures load success.xml N/A N/A N/A httplib OK body N/A N/A N/A httplib responses N/A N/A httplib OK N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A N/A unittest main