Module Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str decorator_list AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str decorator_list decorator_list
N/A N/A ddt N/A mock rally exceptions rally.plugins.openstack.wrappers cinder cinder_wrapper tests.unit test CinderWrapperTestCase N/A N/A test ScenarioTestCase N/A test_wrap N/A N/A self version expected_class N/A N/A N/A client N/A N/A mock MagicMock N/A N/A N/A client choose_version return_value version N/A N/A N/A self assertIsInstance N/A N/A cinder_wrapper wrap client N/A N/A mock Mock expected_class N/A N/A N/A ddt data N/A version expected_class 1 N/A cinder_wrapper CinderV1Wrapper N/A version expected_class 2 N/A cinder_wrapper CinderV2Wrapper N/A ddt unpack test_wrap_wrong_version N/A N/A self mock_log N/A N/A N/A client N/A N/A mock MagicMock N/A N/A N/A client choose_version return_value dummy N/A N/A N/A self assertRaises N/A exceptions InvalidArgumentsException N/A cinder_wrapper wrap client N/A N/A mock Mock N/A N/A N/A self assertTrue N/A N/A mock_log warning mock_called N/A N/A N/A mock patch rally.plugins.openstack.wrappers.cinder.LOG N/A N/A ddt ddt CinderV1WrapperTestCase N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CinderV1WrapperTestCase self setUp N/A N/A self client N/A N/A mock MagicMock N/A N/A N/A N/A self client choose_version return_value 1 N/A N/A self owner N/A N/A mock Mock N/A N/A self wrapped_client N/A N/A cinder_wrapper wrap N/A self client N/A self owner N/A test_create_volume N/A N/A self N/A N/A N/A N/A N/A N/A self wrapped_client create_volume 1 display_name fake_vol N/A N/A N/A N/A N/A N/A N/A self client return_value volumes create assert_called_once_with 1 display_name N/A N/A N/A self owner generate_random_name return_value N/A test_update_volume N/A N/A self N/A N/A N/A N/A N/A N/A self wrapped_client update_volume fake_id display_name fake_vol display_description _updated N/A N/A N/A N/A N/A N/A N/A self client return_value volumes update assert_called_once_with fake_id display_name N/A N/A N/A self owner generate_random_name return_value display_description _updated N/A test_create_snapshot N/A N/A self N/A N/A N/A N/A N/A N/A self wrapped_client create_snapshot fake_id display_name fake_snap N/A N/A N/A N/A N/A N/A N/A self client return_value volume_snapshots create assert_called_once_with fake_id display_name N/A N/A N/A self owner generate_random_name return_value N/A N/A CinderV2WrapperTestCase N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CinderV2WrapperTestCase self setUp N/A N/A self client N/A N/A mock MagicMock N/A N/A N/A N/A self client choose_version return_value 2 N/A N/A self owner N/A N/A mock Mock N/A N/A self wrapped_client N/A N/A cinder_wrapper wrap N/A self client N/A self owner N/A test_create_volume N/A N/A self N/A N/A N/A N/A N/A N/A self wrapped_client create_volume 1 name fake_vol N/A N/A N/A N/A N/A N/A N/A self client return_value volumes create assert_called_once_with 1 name N/A N/A N/A self owner generate_random_name return_value N/A test_create_snapshot N/A N/A self N/A N/A N/A N/A N/A N/A self wrapped_client create_snapshot fake_id name fake_snap N/A N/A N/A N/A N/A N/A N/A self client return_value volume_snapshots create assert_called_once_with fake_id name N/A N/A N/A self owner generate_random_name return_value N/A test_update_volume N/A N/A self N/A N/A N/A N/A N/A N/A self wrapped_client update_volume fake_id name fake_vol description _updated N/A N/A N/A N/A N/A N/A N/A self client return_value volumes update assert_called_once_with fake_id name N/A N/A N/A self owner generate_random_name return_value description _updated N/A N/A