diff --git a/src/rougail/output_formatter/config.py b/src/rougail/output_formatter/config.py index 2bf57be..ab58844 100644 --- a/src/rougail/output_formatter/config.py +++ b/src/rougail/output_formatter/config.py @@ -30,20 +30,35 @@ load_unexist_redefine: default: jinja: >- {% if step.output is not propertyerror and step.output == 'formatter' %} - true + true {% else %} - false + false {% endif %} hidden: jinja: >- {% if step.output is not propertyerror and step.output == 'formatter' %} - load_unexist_redefine is always true with 'formatter' output + load_unexist_redefine is always true with 'formatter' output {% endif %} + +cli: + + load_config: + exists: true + redefine: true + type: boolean + default: + jinja: >- + {% if step.output is not propertyerror and step.output == 'formatter' %} + false + {% else %} + true + {% endif %} """ return { "name": "formatter", "process": "output", "options": options, + "allow_user_data": False, "level": 90, } diff --git a/tests/test_load.py b/tests/test_load.py index eff0358..51e6fef 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -15,7 +15,7 @@ excludes = [ ] test_ok = get_structures_list(excludes) -# test_ok = [Path('../rougail-tests/structures/16_3family_empty_at_ends')] +# test_ok = [Path('../rougail-tests/structures/60_6family_dynamic_sub_dynamic_1_0_2')] def idfn(fixture_value):