commit f5439dc: [Test] Fix tests
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Mar 3 22:15:20 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-02-29 12:33:33 +0000
URL: https://github.com/rspamd/rspamd/commit/f5439dceb784bff970507afbdc6f6e8e37755892
[Test] Fix tests
---
test/functional/cases/340_surbl.robot | 3 +--
test/functional/configs/plugins.conf | 2 +-
test/functional/messages/url11.eml | 3 ++-
3 files changed, 4 insertions(+), 4 deletions(-)
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
More information about the Commits
mailing list