commit 4d3d540: [Test] whitelist: fix tests

Andrew Lewis nerf at judo.za.org
Fri Oct 8 15:35:04 UTC 2021


Author: Andrew Lewis
Date: 2021-10-08 17:20:34 +0200
URL: https://github.com/rspamd/rspamd/commit/4d3d5401c2aa6cc8316cacc415893ec785d3a47d (refs/pull/3929/head)

[Test] whitelist: fix tests

---
 test/functional/cases/123_whitelist.robot | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/functional/cases/123_whitelist.robot b/test/functional/cases/123_whitelist.robot
index 460fc0bd7..c5a672f02 100644
--- a/test/functional/cases/123_whitelist.robot
+++ b/test/functional/cases/123_whitelist.robot
@@ -51,6 +51,7 @@ BLACKLISTS
 
 WHITELIST_WL_ONLY - VALID SPF AND VALID DKIM
   Scan File  ${M_DKIM_RSPAMD_OK}
+  ...  IP=88.99.142.95
   Expect Symbol With Score  WHITELIST_DKIM  -2
   Do Not Expect Symbol  BLACKLIST_DKIM
   Expect Symbol With Score  R_SPF_ALLOW  1
@@ -59,6 +60,7 @@ WHITELIST_WL_ONLY - VALID SPF AND VALID DKIM
 
 BLACKLISTS_WL_ONLY - VALID SPF AND INVALID DKIM
   Scan File  ${M_DKIM_RSPAMD_BAD}
+  ...  IP=88.99.142.95
   Expect Symbol With Score  R_DKIM_REJECT  1
   Do Not Expect Symbol  WHITELIST_DKIM
   Do Not Expect Symbol  BLACKLIST_DKIM
@@ -69,6 +71,7 @@ BLACKLISTS_WL_ONLY - VALID SPF AND INVALID DKIM
 
 VALID SPF and NO DKIM
   Scan File  ${M_NO_DKIM_VALID_SPF}
+  ...  IP=88.99.142.95
   Expect Symbol With Score  R_SPF_ALLOW  1
   Expect Symbol With Score  R_DKIM_NA  1
   Do Not Expect Symbol  R_DKIM_REJECT


More information about the Commits mailing list