summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/tests
diff options
context:
space:
mode:
authorBarry Warsaw2016-11-28 17:20:25 -0500
committerBarry Warsaw2016-11-28 17:20:25 -0500
commit503cd08131bd73388af8cf0a27fd91d2e55501c9 (patch)
treea5910f45750ebbded0ca23bbce7bb994ec7f2cb8 /src/mailman/utilities/tests
parentffc8ed1347121079c047ec454f94e27bf54a9d42 (diff)
parent88212f9d5c9a13e8e723d90a42f00d0f9b66d929 (diff)
downloadmailman-503cd08131bd73388af8cf0a27fd91d2e55501c9.tar.gz
mailman-503cd08131bd73388af8cf0a27fd91d2e55501c9.tar.zst
mailman-503cd08131bd73388af8cf0a27fd91d2e55501c9.zip
Diffstat (limited to 'src/mailman/utilities/tests')
-rw-r--r--src/mailman/utilities/tests/test_import.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/utilities/tests/test_import.py b/src/mailman/utilities/tests/test_import.py
index 5a226ba26..62985545f 100644
--- a/src/mailman/utilities/tests/test_import.py
+++ b/src/mailman/utilities/tests/test_import.py
@@ -337,6 +337,7 @@ class TestBasicImport(unittest.TestCase):
('^Subject: dev-\r\n^Subject: staging-', 3, False),
('from: .*info@aolanchem.com\r\nfrom: .*@jw-express.com',
2, False),
+ ('^Subject:.*\\Wwas:\\W', 3, False),
('^Received: from smtp-.*\\.fedoraproject\\.org\r\n'
'^Received: from mx.*\\.redhat.com\r\n'
'^Resent-date:\r\n'
@@ -373,6 +374,7 @@ class TestBasicImport(unittest.TestCase):
('subject', 'staging-', 'discard'),
('from', '.*info@aolanchem.com', 'reject'),
('from', '.*@jw-express.com', 'reject'),
+ ('subject', '\\Wwas:\\W', 'discard'),
('received', 'from smtp-.*\\.fedoraproject\\.org', 'hold'),
('received', 'from mx.*\\.redhat.com', 'hold'),
('resent-date', '.*', 'hold'),