Skip to content

Commit

Permalink
fix: correct code format
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]>
  • Loading branch information
AleJo2995 committed Dec 21, 2023
1 parent 8cfc8de commit adde885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/trestle/core/commands/author/profile_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,8 @@ def test_param_value_origin_from_inherited_profile(tmp_trestle_dir: pathlib.Path
header, tree = md_api.processor.process_markdown(md_path)

assert header
assert header[const.SET_PARAMS_TAG]['ac-3.3_prm_1'][const.PROFILE_PARAM_VALUE_ORIGIN] == const.REPLACE_ME_PLACEHOLDER
assert header[const.SET_PARAMS_TAG]['ac-3.3_prm_1'][const.PROFILE_PARAM_VALUE_ORIGIN
] == const.REPLACE_ME_PLACEHOLDER
header[const.SET_PARAMS_TAG]['ac-3.3_prm_1'][const.PROFILE_PARAM_VALUE_ORIGIN
] = 'Needed to change param value origin'
md_api.write_markdown_with_header(md_path, header, tree.content.raw_text)
Expand Down
2 changes: 1 addition & 1 deletion trestle/common/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
#
# Property param-value-origin is meant for putting the origin from where that parameter comes from.
# In order to be changed in the current profile, profile-param-value-origin property will be displayed with
# the placeholder "<REPLACE_ME>" for you to be replaced. If a parameter already has a param-value-origin
# the placeholder "<REPLACE_ME>" for you to be replaced. If a parameter already has a param-value-origin
# coming from an inherited profile, do no change this value, instead use profile-param-value-origin as follows:
#
# param-value-origin: DO NOT REPLACE - this is the original value
Expand Down

0 comments on commit adde885

Please sign in to comment.