aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/300_rbl.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/300_rbl.robot')
-rw-r--r--test/functional/cases/300_rbl.robot8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/cases/300_rbl.robot b/test/functional/cases/300_rbl.robot
index 36d13c045..8ac96915e 100644
--- a/test/functional/cases/300_rbl.robot
+++ b/test/functional/cases/300_rbl.robot
@@ -28,6 +28,14 @@ RBL FROM UNKNOWN HIT
${result} = Scan Message With Rspamc ${MESSAGE} -i 4.3.2.2
Check Rspamc ${result} FAKE_RBL_UNKNOWN
+RBL RECEIVED HIT
+ ${result} = Scan Message With Rspamc ${MESSAGE} -i 8.8.8.8
+ Check Rspamc ${result} FAKE_RECEIVED_RBL_CODE_3
+
+RBL FROM HIT WL
+ ${result} = Scan Message With Rspamc ${MESSAGE} -i 4.3.2.4
+ Check Rspamc ${result} FAKE_RBL_CODE_2 inverse=True
+
*** Keywords ***
Rbl Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/rbl.conf