diff --git a/docker/test/config/texts.toml b/docker/test/config/texts.toml new file mode 100644 index 0000000..2e04743 --- /dev/null +++ b/docker/test/config/texts.toml @@ -0,0 +1,12 @@ +confirm_mail = """ +Hiho custom test test {name}, + +du hast bei der JDAV %(SEKTION)s eine E-Mail Adresse hinterlegt. Da bei uns alle Kommunikation +per Email funktioniert, brauchen wir eine Bestätigung {whattoconfirm}. + +Custom! + +{link} + +Test test +Deine JDAV test test %(SEKTION)s""" diff --git a/jdav_web/jdav_web/settings/__init__.py b/jdav_web/jdav_web/settings/__init__.py index 248f7d1..e474d0e 100644 --- a/jdav_web/jdav_web/settings/__init__.py +++ b/jdav_web/jdav_web/settings/__init__.py @@ -25,7 +25,7 @@ if os.path.exists(os.path.join(CONFIG_DIR_PATH, TEXTS_FILE)): with open(os.path.join(CONFIG_DIR_PATH, TEXTS_FILE), 'rb') as f: texts = tomli.load(f) else: - texts = {} + texts = {} # pragma: no cover def get_var(*keys, default='', dictionary=config):