sharing/bday/summary: check for not to be empty

This commit is contained in:
Peter Bieringer
2026-05-31 07:26:19 +02:00
parent 8a28141c3e
commit d6369588f4
3 changed files with 30 additions and 3 deletions

View File

@@ -5097,6 +5097,26 @@ permissions: RrWw""")
else:
raise
logging.info("\n*** configuration test: conversion_bday_summary_template empty")
try:
self.configure({"sharing": {
"conversion_bday_summary_template": "",
}})
except RuntimeError:
pass
else:
raise
logging.info("\n*** configuration test: conversion_bday_description_template empty")
try:
self.configure({"sharing": {
"conversion_bday_description_template": "",
}})
except RuntimeError:
pass
else:
pass
logging.info("\n*** configuration test: conversion_bday_alarm_trigger_template not supported")
try:
self.configure({"sharing": {