]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Use suite test
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 24 Jun 2020 15:16:07 +0000 (16:16 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 24 Jun 2020 15:16:07 +0000 (16:16 +0100)
test/functional/cases/280_rules.robot
test/functional/cases/300_rbl.robot

index aed23a1e7bb1a6e4c075165a19ef3a308037780b..a847fbbc71c4cf0e9d4cef7b30c4d93f573a1ca8 100644 (file)
@@ -1,6 +1,6 @@
 *** Settings ***
-Test Setup      Rules Setup
-Test Teardown   Rules Teardown
+Suite Setup      Rules Setup
+Suite Teardown   Rules Teardown
 Library         ${TESTDIR}/lib/rspamd.py
 Resource        ${TESTDIR}/lib/rspamd.robot
 Variables       ${TESTDIR}/lib/vars.py
@@ -17,7 +17,7 @@ ${MESSAGE6}      ${TESTDIR}/messages/pdf_encrypted.eml
 ${MESSAGE7}      ${TESTDIR}/messages/pdf_js.eml
 ${MESSAGE8}      ${TESTDIR}/messages/yand_forward.eml
 ${URL_TLD}       ${TESTDIR}/../lua/unit/test_tld.dat
-${RSPAMD_SCOPE}  Test
+${RSPAMD_SCOPE}  Suite
 
 
 *** Test Cases ***
index 9a386619fc549be265829415bcbff8f07605171a..5a861400ce9bf92ed88287688a25cb5d18db801c 100644 (file)
@@ -35,7 +35,7 @@ RBL RECEIVED HIT
 RBL FROM HIT WL
   ${result} =  Scan Message With Rspamc  ${MESSAGE}  -i  4.3.2.4
   Check Rspamc  ${result}  FAKE_RBL_CODE_2  inverse=True
-  Should Contain  ${result.stdout}  FAKE_WL_RBL_CODE_2 (1.00)[4.3.2.4:from]
+  Should Contain  ${result.stdout}  FAKE_WL_RBL_CODE_2 (0.00)[4.3.2.4:from]
 
 EMAILBL Compose Map 1
   ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/url14.eml