Browse Source

[Test] Use suite test

tags/2.6
Vsevolod Stakhov 3 years ago
parent
commit
7d3a66d3f1
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      test/functional/cases/280_rules.robot
  2. 1
    1
      test/functional/cases/300_rbl.robot

+ 3
- 3
test/functional/cases/280_rules.robot View 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 ***

+ 1
- 1
test/functional/cases/300_rbl.robot View 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

Loading…
Cancel
Save