commit c6d0f56: [Test] Split test

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Mar 23 20:28:06 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-03-23 20:26:04 +0000
URL: https://github.com/rspamd/rspamd/commit/c6d0f564e372dbe2497ec92fa78522dbfb30d388 (HEAD -> master)

[Test] Split test

---
 test/functional/cases/001_merged/280_rules.robot | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/test/functional/cases/001_merged/280_rules.robot b/test/functional/cases/001_merged/280_rules.robot
index 2ae2f7422..f98e6445d 100644
--- a/test/functional/cases/001_merged/280_rules.robot
+++ b/test/functional/cases/001_merged/280_rules.robot
@@ -92,10 +92,14 @@ FROM_NEQ_ENVFROM
   ...  Settings={symbols_enabled = [FROM_NEQ_ENVFROM]}
   Expect Symbol  FROM_NEQ_ENVFROM
 
-PHISH_SENDER_A
+PHISH_SENDER_A_1
   Scan File  ${RSPAMD_TESTDIR}/messages/phish_sender.eml
-  ...  Settings={symbols_enabled = [MULTIPLE_FROM, MULTIPLE_UNIQUE_HEADERS]}
-  Expect Symbol With Score And Exact Options  MULTIPLE_FROM  9.0  <any at attack.com>  <admin at legitimate.com>
+  ...  Settings={symbols_enabled = [MULTIPLE_FROM]}
+  Expect Symbol With Score And Exact Options  MULTIPLE_FROM  8.0  <any at attack.com>  <admin at legitimate.com>
+
+PHISH_SENDER_A_2
+  Scan File  ${RSPAMD_TESTDIR}/messages/phish_sender.eml
+  ...  Settings={symbols_enabled = [MULTIPLE_UNIQUE_HEADERS]}
   Expect Symbol With Score And Exact Options  MULTIPLE_UNIQUE_HEADERS  7.0  From
 
 PHISH_SENDER_B


More information about the Commits mailing list