From: Vsevolod Stakhov Date: Sat, 29 Feb 2020 12:33:33 +0000 (+0000) Subject: [Test] Fix tests X-Git-Tag: 2.5~104 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5439dceb784bff970507afbdc6f6e8e37755892;p=rspamd.git [Test] Fix tests --- diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot index 81e30de1d..68088ed45 100644 --- a/test/functional/cases/340_surbl.robot +++ b/test/functional/cases/340_surbl.robot @@ -153,8 +153,7 @@ SURBL html entity­ SURBL url compose map ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url11.eml - Should Contain ${result.stdout} BAD_SUBDOMAIN (0.00)[very.dirty.sanchez.com:url] - Should Not Contain ${result.stdout} not.dirty.sanchez.com + Should Contain ${result.stdout} BAD_SUBDOMAIN (0.00)[4.very.dirty.sanchez.com:url, clean.dirty.sanchez.com:url] *** Keywords *** Surbl Setup diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf index 817b5e4db..47f2c9918 100644 --- a/test/functional/configs/plugins.conf +++ b/test/functional/configs/plugins.conf @@ -666,7 +666,7 @@ options = { replies = ["127.0.0.3"]; }, { - name = "very.dirty.sanchez.com.test7.uribl"; + name = "4.very.dirty.sanchez.com.test7.uribl"; type = a; replies = ["127.0.0.2"]; }, diff --git a/test/functional/messages/url11.eml b/test/functional/messages/url11.eml index 82ddbf77d..0b19c5eee 100644 --- a/test/functional/messages/url11.eml +++ b/test/functional/messages/url11.eml @@ -1,4 +1,5 @@ Content-Type: text/plain http://clean.dirty.sanchez.com -http://not.dirty.sanchez.com \ No newline at end of file +http://not.dirty.sanchez.com +http://4.very.dirty.sanchez.com \ No newline at end of file