summaryrefslogtreecommitdiffstats
path: root/test/functional/cases
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-24 19:27:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-24 19:27:05 +0100
commit49852022963aba3dbce3591ac68fd2981b18710b (patch)
treead626dc0a1c83efd813900aa3261c406323bca47 /test/functional/cases
parent91443f3b8aba3abe7d0a5cef117c236a2aa8f4da (diff)
downloadrspamd-49852022963aba3dbce3591ac68fd2981b18710b.tar.gz
rspamd-49852022963aba3dbce3591ac68fd2981b18710b.zip
[Test] Moar surbl tests
Diffstat (limited to 'test/functional/cases')
-rw-r--r--test/functional/cases/340_surbl.robot11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 40ef9855c..d5391af07 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -41,6 +41,17 @@ SURBL Example.ru domain
Should Not Contain ${result.stdout} DBL_PHISH
Should Not Contain ${result.stdout} URIBL_BLACK
+SURBL Example.ru ZEN domain
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url7.eml
+ Should Contain ${result.stdout} URIBL_SBL_CSS (
+ Should Contain ${result.stdout} URIBL_XBL (
+ Should Contain ${result.stdout} URIBL_PBL (
+ Should Not Contain ${result.stdout} URIBL_SBL (
+ Should Not Contain ${result.stdout} DBL_SPAM (
+ Should Not Contain ${result.stdout} RSPAMD_URIBL (
+ 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