Add documentation and tests

This commit is contained in:
Dennis Melzer
2024-01-24 09:55:22 +01:00
parent cc68ee44d1
commit 39aa0ef80e
2 changed files with 15 additions and 1 deletions

View File

@@ -592,6 +592,18 @@ class TestMail(
exclude_pattern="f1*",
expected_matches=["f2.pdf", "f3.pdf", "file.PDf"],
),
FilterTestCase(
"PDF Files without f1 and f2",
include_pattern="*.pdf",
exclude_pattern="f1*,f2*",
expected_matches=["f3.pdf", "file.PDf"],
),
FilterTestCase(
"PDF Files without f1 and f2 and f3",
include_pattern="*.pdf",
exclude_pattern="f1*,f2*,f3*",
expected_matches=[list"file.PDf"],
),
FilterTestCase(
"All Files, no PNG",
include_pattern="*",