def storage_with_req(init_context): assert hasattr(init_context.resources, 'yup') assert not hasattr(init_context.resources, 'not_required') assert not hasattr(init_context.resources, 'kjdkfjdkfje') called['called'] = True return create_mem_system_storage_data(init_context)
def storage_with_req(init_context): return create_mem_system_storage_data(init_context)
def storage(init_context): called['called'] = True return create_mem_system_storage_data(init_context)