Htmldocck: Substitute the doc channel when blessing

This commit is contained in:
León Orell Valerian Liehr 2022-07-26 17:38:13 +02:00
parent 93ffde6f04
commit d411a08655

View File

@ -440,6 +440,7 @@ def check_snapshot(snapshot_name, actual_tree, normalize_to_text):
if bless:
with open(snapshot_path, 'w') as snapshot_file:
actual_str = actual_str.replace(channel, "{{channel}}")
snapshot_file.write(actual_str)
else:
print('--- expected ---\n')