aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-11 14:08:59 +0000
committerGitHub <noreply@github.com>2020-01-11 14:08:59 +0000
commit065ce9d2bb8a997c27dc9a109a35658966b0094f (patch)
tree03666b8a8318ac67bf17729c531c671bcdcdb27f /test
parentd9e35ca50f4cf853fb2a2a4505cccbd1a761cfce (diff)
parentc42580ff15642654e9473dbf0622ee0f0adf07fe (diff)
downloadrspamd-065ce9d2bb8a997c27dc9a109a35658966b0094f.tar.gz
rspamd-065ce9d2bb8a997c27dc9a109a35658966b0094f.zip
Merge pull request #3206 from korgoth1/master
[Test] SURBL resolve ip
Diffstat (limited to 'test')
-rw-r--r--test/functional/cases/340_surbl.robot6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 71bd4285a..8c7fcc3c1 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -11,6 +11,12 @@ ${RSPAMD_SCOPE} Suite
${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
*** Test Cases ***
+SURBL resolve ip
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url7.eml
+ Should Contain ${result.stdout} URIBL_SBL_CSS (1.00)[8.8.8.9:example.ru
+ Should Contain ${result.stdout} URIBL_XBL (1.00)[8.8.8.8:example.ru
+ Should Contain ${result.stdout} URIBL_PBL (1.00)[8.8.8.8:example.ru
+
SURBL Example.com domain
${result} = Scan Message With Rspamc ${TESTDIR}/messages/url4.eml
Should Contain ${result.stdout} RSPAMD_URIBL