filtermail: address hpk's comments

This commit is contained in:
missytake
2023-12-08 08:16:36 +01:00
committed by holger krekel
parent 2055e9f5b8
commit 32360061b4
2 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
from chatmaild.filtermail import check_encrypted, check_DATA, SendRateLimiter, check_mdn, check_passthrough
from chatmaild.filtermail import check_encrypted, check_DATA, SendRateLimiter, check_mdn, is_passthrough_recipient
import pytest
@@ -87,7 +87,7 @@ def test_excempt_privacy(maildata, gencreds):
to_addr = "privacy@testrun.org"
false_to = "privacy@tstrn.org"
false_to2 = "prvcy@testrun.org"
assert check_passthrough(to_addr)
assert is_passthrough_recipient(to_addr)
msg = maildata("plain.eml", from_addr, to_addr)