Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias 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 decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore ListLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Index Str Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str
N/A N/A json N/A mock solum.api.handlers userlog_handler solum.tests base solum.tests fakes solum.tests utils TestUserlogHandler N/A N/A base BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestUserlogHandler self setUp N/A N/A self ctx N/A N/A utils dummy_context N/A test_userlog_get_all N/A N/A self mock_registry N/A N/A N/A N/A N/A N/A mock_registry UserlogList get_all return_value N/A N/A handler N/A N/A userlog_handler UserlogHandler N/A self ctx N/A res N/A N/A handler get_all N/A N/A N/A self assertIsNotNone res N/A N/A N/A N/A N/A mock_registry UserlogList get_all assert_called_once_with N/A self ctx N/A test_userlog_get_all_by_id N/A N/A self mock_registry N/A N/A N/A N/A N/A N/A mock_registry UserlogList get_all_by_id return_value N/A N/A handler N/A N/A userlog_handler UserlogHandler N/A self ctx N/A assembly N/A N/A fakes FakeAssembly N/A res N/A N/A handler get_all_by_id N/A assembly id N/A N/A N/A self assertIsNotNone res N/A all_by_id N/A N/A mock_registry UserlogList get_all_by_id N/A N/A N/A all_by_id assert_called_once_with N/A self ctx resource_uuid N/A assembly id N/A test_userlog_delete_local_logs N/A N/A self mock_os_remove mock_registry N/A N/A N/A fi N/A N/A fakes FakeImage N/A fakelog N/A N/A fakes FakeUserlog N/A flogs N/A fakelog N/A N/A N/A N/A mock_registry UserlogList get_all_by_id return_value flogs N/A handler N/A N/A userlog_handler UserlogHandler N/A self ctx N/A N/A N/A handler delete N/A fi uuid N/A N/A N/A N/A N/A mock_registry UserlogList get_all_by_id assert_called_once_with N/A self ctx resource_uuid N/A fi uuid N/A N/A N/A mock_os_remove assert_called_once_with N/A N/A flogs N/A 0 location N/A N/A N/A N/A fakelog destroy assert_called_once_with N/A self ctx N/A N/A N/A mock patch solum.api.handlers.userlog_handler.os.remove test_userlog_delete_swift_logs N/A N/A self mock_swift_delete mock_registry N/A N/A N/A fi N/A N/A fakes FakeImage N/A fakelog N/A N/A fakes FakeUserlog N/A N/A fakelog strategy swift N/A N/A fakelog strategy_info {"container": "solum-logs"} N/A flogs N/A fakelog N/A s_info N/A N/A N/A json loads N/A N/A flogs N/A 0 strategy_info N/A container N/A location N/A N/A flogs N/A 0 location N/A N/A N/A N/A mock_registry UserlogList get_all_by_id return_value flogs N/A handler N/A N/A userlog_handler UserlogHandler N/A self ctx N/A N/A N/A handler delete N/A fi uuid N/A N/A N/A N/A N/A mock_registry UserlogList get_all_by_id assert_called_once_with N/A self ctx resource_uuid N/A fi uuid N/A N/A N/A mock_swift_delete assert_called_once_with s_info location N/A N/A N/A N/A fakelog destroy assert_called_once_with N/A self ctx N/A N/A N/A mock patch solum.common.solum_swiftclient.SwiftClient.delete_object N/A N/A N/A mock patch solum.objects.registry