Enhancement: re-work mail rule dialog, support multiple include patterns (#7635)

This commit is contained in:
shamoon
2024-09-05 15:32:03 -07:00
committed by GitHub
parent e1ba1a1898
commit 4903e4290d
5 changed files with 143 additions and 100 deletions

View File

@@ -658,6 +658,12 @@ class TestMail(
exclude_pattern=None,
expected_matches=["f2.png"],
),
FilterTestCase(
"PDF Files with f2 and f3",
include_pattern="f2.pdf,f3*",
exclude_pattern=None,
expected_matches=["f2.pdf", "f3.pdf"],
),
FilterTestCase(
"PDF Files without f1",
include_pattern="*.pdf",