You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

450_grow_factor.robot 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. *** Settings ***
  2. Suite Setup Rspamd Setup
  3. Suite Teardown Rspamd Teardown
  4. Library ${RSPAMD_TESTDIR}/lib/rspamd.py
  5. Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot
  6. Variables ${RSPAMD_TESTDIR}/lib/vars.py
  7. *** Variables ***
  8. ${CONFIG} ${RSPAMD_TESTDIR}/configs/grow_factor.conf
  9. ${HAM_MESSAGE} ${RSPAMD_TESTDIR}/messages/ham.eml
  10. ${RSPAMD_SCOPE} Suite
  11. &{RESCORED_SYMBOLS}
  12. ... SIMPLE_TEST_001=0.013067
  13. ... SIMPLE_TEST_002=14.374194
  14. ... SIMPLE_TEST_003=6.533724
  15. ... SIMPLE_TEST_004=13.067449
  16. ... SIMPLE_TEST_005=0.013067
  17. ... SIMPLE_TEST_006=0.130674
  18. ... SIMPLE_TEST_007=0.143741
  19. ... SIMPLE_TEST_008=0.156809
  20. ... SIMPLE_TEST_009=0.169876
  21. ... SIMPLE_TEST_010=0.182944
  22. ... SIMPLE_TEST_011=-0.010000
  23. ... SIMPLE_TEST_012=-0.100000
  24. ... SIMPLE_TEST_013=-10.000000
  25. *** Test Cases ***
  26. CHECK BASIC
  27. Scan File ${HAM_MESSAGE}
  28. ... Settings={groups_enabled = [simple_tests]}
  29. Expect Required Score 15
  30. Expect Symbols With Scores &{RESCORED_SYMBOLS}
  31. CHECK NOREJECT
  32. Scan File ${HAM_MESSAGE}
  33. ... Settings={actions { reject = null, "add header" = 15 }, groups_enabled = [simple_tests]}
  34. Expect Symbols With Scores &{RESCORED_SYMBOLS}