added more testing

This commit is contained in:
Jonas Winkler
2020-11-16 23:16:37 +01:00
parent d6a6bebf2f
commit e30f0b274b
5 changed files with 264 additions and 8 deletions

View File

@@ -359,5 +359,6 @@ FILENAME_PARSE_TRANSFORMS = []
for t in json.loads(os.getenv("PAPERLESS_FILENAME_PARSE_TRANSFORMS", "[]")):
FILENAME_PARSE_TRANSFORMS.append((re.compile(t["pattern"]), t["repl"]))
# TODO: this should not have a prefix.
# Specify the filename format for out files
PAPERLESS_FILENAME_FORMAT = os.getenv("PAPERLESS_FILENAME_FORMAT")