]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix tests
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 29 Feb 2020 12:33:33 +0000 (12:33 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 29 Feb 2020 12:33:33 +0000 (12:33 +0000)
test/functional/cases/340_surbl.robot
test/functional/configs/plugins.conf
test/functional/messages/url11.eml

index 81e30de1dff97b8ae6462b93e8d9038232cf86e9..68088ed45bc139d2feee7b8e05f98a323abc3def 100644 (file)
@@ -153,8 +153,7 @@ SURBL html entity&shy
 
 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
index 817b5e4db49e3fba5aa039d891e6a9dc316058bc..47f2c99182013371cacd1a8350016069173046ab 100644 (file)
@@ -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"];
         },
index 82ddbf77d6de1b2e2d0f6ece7a41a3f62a46030e..0b19c5eee53e686e9654b4446140cc7c7aff1254 100644 (file)
@@ -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