aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/340_surbl.robot
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2020-02-28 20:52:45 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2020-02-28 20:52:45 +0300
commitff5476957ac106ac44d73f30c5d13935370b7048 (patch)
tree78604d3a5c1524e3cf7ed8157e297ba562915cd2 /test/functional/cases/340_surbl.robot
parentca991102df9309af17ea0f5b5d1035b9b41230c1 (diff)
downloadrspamd-ff5476957ac106ac44d73f30c5d13935370b7048.tar.gz
rspamd-ff5476957ac106ac44d73f30c5d13935370b7048.zip
[Test] URL compose map
Diffstat (limited to 'test/functional/cases/340_surbl.robot')
-rw-r--r--test/functional/cases/340_surbl.robot9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 8c7fcc3c1..092495d38 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -147,10 +147,17 @@ SURBL IDN Punycode domain
Should Not Contain ${result.stdout} DBL_PHISH
Should Not Contain ${result.stdout} URIBL_BLACK
-SURBL html entity &shy
+SURBL html entity&shy
${result} = Scan Message With Rspamc ${TESTDIR}/messages/url10.eml
Should Contain ${result.stdout} RSPAMD_URIBL
+SURBL url compose map
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url11.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
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/surbl.conf