Module Import alias Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr ListLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Num Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A importlib N/A unittest N/A N/A N/A unittest.mock mock N/A N/A N/A ImportError N/A N/A mock cloudbaseinit.plugins.common base cloudbaseinit.tests testutils TestExtendVolumesPlugin N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self _ctypes_mock N/A N/A mock MagicMock N/A N/A self _comtypes_mock N/A N/A mock MagicMock N/A N/A self _module_patcher N/A N/A N/A mock patch dict sys.modules N/A comtypes ctypes N/A self _comtypes_mock N/A self _ctypes_mock N/A N/A N/A N/A self _module_patcher start N/A N/A N/A self addCleanup N/A N/A self _module_patcher stop N/A extendvolumes N/A N/A importlib import_module cloudbaseinit.plugins.windows.extendvolumes N/A N/A self _extend_volumes N/A N/A extendvolumes ExtendVolumesPlugin N/A test_get_volumes_to_extend N/A N/A self N/A N/A N/A N/A N/A testutils ConfPatcher volumes_to_extend 1 N/A N/A response N/A N/A N/A self _extend_volumes _get_volumes_to_extend N/A N/A N/A self assertEqual N/A 1 response N/A test_execute N/A N/A self mock_get_volumes_to_extend mock_get_storage_manager N/A N/A N/A volumes_indexes N/A 1 3 N/A N/A mock_get_volumes_to_extend return_value volumes_indexes N/A storage_manager N/A N/A mock Mock N/A N/A mock_get_storage_manager return_value storage_manager N/A response N/A N/A N/A self _extend_volumes execute N/A N/A mock Mock N/A N/A mock Mock N/A N/A N/A mock_get_volumes_to_extend assert_called_once_with N/A N/A N/A mock_get_storage_manager assert_called_once_with N/A N/A N/A N/A storage_manager extend_volumes assert_called_once_with volumes_indexes N/A N/A N/A self assertEqual N/A N/A base PLUGIN_EXECUTE_ON_NEXT_BOOT False response N/A N/A N/A mock patch cloudbaseinit.utils.windows.storage.factory.get_storage_manager N/A N/A mock patch cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin._get_volumes_to_extend N/A