Module Import alias ImportFrom alias ImportFrom alias Import alias identifier Import alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign NameStore Lambda arguments args NameParam defaults vararg kwarg Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str keyword Str keyword NameLoad keyword Num decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str keyword Str keyword NameLoad keyword Num decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Dict Str Str keyword Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A mock ironicclient.common cliutils ironicclient.tests.unit utils N/A ironicclient.v1.driver v1_driver N/A ironicclient.v1.driver_shell d_shell DriverShellTest N/A N/A utils BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super DriverShellTest self setUp N/A client_mock N/A N/A mock MagicMock N/A driver_mock N/A N/A mock MagicMock spec N/A v1_driver DriverManager N/A N/A client_mock driver driver_mock N/A N/A self client_mock client_mock N/A test_driver_show N/A N/A self N/A N/A N/A actual N/A N/A fake_print_dict N/A N/A N/A data N/A args kwargs N/A N/A actual update data N/A N/A N/A N/A mock patch object cliutils print_dict fake_print_dict N/A N/A driver N/A object N/A N/A N/A d_shell _print_driver_show driver N/A exp N/A hosts name N/A act N/A N/A actual keys N/A N/A N/A self assertEqual N/A sorted exp N/A sorted act N/A test_do_driver_vendor_passthru_with_args N/A N/A self N/A N/A N/A client_mock N/A self client_mock N/A args N/A N/A mock MagicMock N/A N/A args driver_name driver_name N/A N/A args http_method POST N/A N/A args method method N/A N/A args arguments N/A N/A arg1=val1 arg2=val2 N/A N/A N/A d_shell do_driver_vendor_passthru client_mock args N/A N/A N/A N/A N/A client_mock driver vendor_passthru assert_called_once_with N/A args driver_name N/A args method http_method N/A args http_method args N/A arg1 arg2 val1 val2 N/A test_do_driver_vendor_passthru_without_args N/A N/A self N/A N/A N/A client_mock N/A self client_mock N/A args N/A N/A mock MagicMock N/A N/A args driver_name driver_name N/A N/A args http_method POST N/A N/A args method method N/A N/A args arguments N/A N/A N/A N/A N/A d_shell do_driver_vendor_passthru client_mock args N/A N/A N/A N/A N/A client_mock driver vendor_passthru assert_called_once_with N/A args driver_name N/A args method args N/A http_method N/A args http_method N/A test_do_driver_properties N/A N/A self N/A N/A N/A client_mock N/A self client_mock N/A args N/A N/A mock MagicMock N/A N/A args driver_name driver_name N/A N/A args json False N/A N/A N/A d_shell do_driver_properties client_mock args N/A N/A N/A N/A N/A client_mock driver properties assert_called_once_with driver_name N/A test_do_driver_properties_with_wrap_default N/A N/A self mock_print_dict N/A N/A N/A client_mock N/A self client_mock N/A N/A N/A N/A client_mock driver properties return_value N/A foo baz bar qux N/A args N/A N/A mock MagicMock N/A N/A args driver_name driver_name N/A N/A args wrap 0 N/A N/A args json False N/A N/A N/A d_shell do_driver_properties client_mock args N/A N/A N/A mock_print_dict assert_called_with N/A foo baz bar qux dict_value Description json_flag False wrap 0 N/A N/A N/A mock patch ironicclient.common.cliutils.print_dict test_do_driver_properties_with_wrap N/A N/A self mock_print_dict N/A N/A N/A client_mock N/A self client_mock N/A N/A N/A N/A client_mock driver properties return_value N/A foo baz bar qux N/A args N/A N/A mock MagicMock N/A N/A args driver_name driver_name N/A N/A args wrap 80 N/A N/A args json False N/A N/A N/A d_shell do_driver_properties client_mock args N/A N/A N/A mock_print_dict assert_called_with N/A foo baz bar qux dict_value Description json_flag False wrap 80 N/A N/A N/A mock patch ironicclient.common.cliutils.print_dict _test_do_driver_raid_logical_disk N/A N/A self print_dict_mock wrap N/A 0 N/A N/A cli_mock N/A self client_mock N/A N/A N/A N/A cli_mock driver raid_logical_disk_properties return_value N/A foo bar N/A args N/A N/A mock MagicMock N/A N/A args driver_name driver_name N/A N/A args wrap wrap N/A N/A N/A d_shell do_driver_raid_logical_disk_properties cli_mock args N/A N/A N/A N/A N/A cli_mock driver raid_logical_disk_properties assert_called_once_with driver_name N/A N/A N/A print_dict_mock assert_called_with N/A foo bar dict_value Description wrap wrap N/A N/A N/A mock patch ironicclient.common.cliutils.print_dict test_do_driver_raid_logical_disk_default_wrap N/A N/A self N/A N/A N/A N/A N/A self _test_do_driver_raid_logical_disk N/A test_do_driver_raid_logical_disk_with_wrap N/A N/A self N/A N/A N/A N/A N/A self _test_do_driver_raid_logical_disk wrap 80 N/A test_do_driver_show N/A N/A self N/A N/A N/A client_mock N/A self client_mock N/A args N/A N/A mock MagicMock N/A N/A args driver_name fake N/A N/A args json False N/A N/A N/A d_shell do_driver_show client_mock args N/A N/A N/A N/A N/A client_mock driver get assert_called_once_with fake N/A test_do_driver_list N/A N/A self N/A N/A N/A client_mock N/A self client_mock N/A args N/A N/A mock MagicMock N/A N/A N/A d_shell do_driver_list client_mock args N/A N/A N/A N/A N/A client_mock driver list assert_called_once_with N/A test_do_driver_get_vendor_passthru_methods N/A N/A self N/A N/A N/A client_mock N/A N/A mock MagicMock N/A args N/A N/A mock MagicMock N/A N/A args driver_name fake N/A N/A N/A d_shell do_driver_get_vendor_passthru_methods client_mock args N/A mock_method N/A N/A client_mock driver get_vendor_passthru_methods N/A N/A N/A mock_method assert_called_once_with fake N/A N/A