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 no_config_storage(init_context): called["called"] = True return create_mem_system_storage_data(init_context)
def test_storage(init_context): assert init_context.system_storage_config[ "value"] == "secret testing value!!" it["ran"] = True return create_mem_system_storage_data(init_context)
def no_config_storage(init_context): it["ran"] = True return create_mem_system_storage_data(init_context)
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(init_context): called['called'] = True return create_mem_system_storage_data(init_context)