aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/340_surbl.robot
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2019-09-03 19:43:27 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2019-09-03 19:43:27 +0300
commit3b01bedc940deaa08c4a259f84ecdc182747bb95 (patch)
treefbde6961c1756ed2cb256140f5fe53573648815f /test/functional/cases/340_surbl.robot
parent8a240656d8378ac20e4c4c3ae61d1a9c33488a20 (diff)
downloadrspamd-3b01bedc940deaa08c4a259f84ecdc182747bb95.tar.gz
rspamd-3b01bedc940deaa08c4a259f84ecdc182747bb95.zip
[Test] Url in subject
Diffstat (limited to 'test/functional/cases/340_surbl.robot')
-rw-r--r--test/functional/cases/340_surbl.robot13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 8ed5222b9..a0cc4f943 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -78,6 +78,19 @@ SURBL @example.com mail text
Should Not Contain ${result.stdout} DBL_PHISH (
Should Not Contain ${result.stdout} URIBL_BLACK (
+SURBL example.com not encoded url in subject
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/urlinsubject.eml
+ Should Contain ${result.stdout} RSPAMD_URIBL (
+ Should Contain ${result.stdout} DBL_SPAM (
+ Should Not Contain ${result.stdout} DBL_PHISH (
+ Should Not Contain ${result.stdout} URIBL_BLACK (
+
+SURBL example.com encoded url in subject
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/urlinsubjectencoded.eml
+ Should Contain ${result.stdout} RSPAMD_URIBL (
+ Should Contain ${result.stdout} DBL_SPAM (
+ Should Not Contain ${result.stdout} DBL_PHISH (
+ Should Not Contain ${result.stdout} URIBL_BLACK (
*** Keywords ***
Surbl Setup