aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/135_spamassassin.robot
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-08-12 17:00:56 +0100
committerAndrew Lewis <nerf@judo.za.org>2016-08-12 17:24:30 +0100
commit188725d470dc3b9bc9ea3fbc291e05cb7623f2f4 (patch)
tree9c7918261713b32c9c0ef830f5282c1f859c0abb /test/functional/cases/135_spamassassin.robot
parent34696a9cb11cbc8c0c969d52d57936f2ab2b2bf0 (diff)
downloadrspamd-188725d470dc3b9bc9ea3fbc291e05cb7623f2f4.tar.gz
rspamd-188725d470dc3b9bc9ea3fbc291e05cb7623f2f4.zip
[Test] Some minor updates for tests
- Removed horrible features from test library - Negative cases for SpamAssassin WLBLEval - Restructured JSON tests
Diffstat (limited to 'test/functional/cases/135_spamassassin.robot')
-rw-r--r--test/functional/cases/135_spamassassin.robot12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/functional/cases/135_spamassassin.robot b/test/functional/cases/135_spamassassin.robot
index f2c24a294..2e5c0bb59 100644
--- a/test/functional/cases/135_spamassassin.robot
+++ b/test/functional/cases/135_spamassassin.robot
@@ -36,6 +36,12 @@ WLBL From Whitelist
WLBL To Whitelist
Should Contain ${BAD_MESSAGE_RESULT.stdout} USER_IN_WHITELIST_TO
+WLBL To Blacklist Miss
+ Should Not Contain ${BAD_MESSAGE_RESULT.stdout} USER_IN_BLACKLIST_TO
+
+WLBL From Blacklist Miss
+ Should Not Contain ${BAD_MESSAGE_RESULT.stdout} USER_IN_BLACKLIST (
+
WLBL From Blacklist
${UTF_RESULT} = Scan Message With Rspamc ${TESTDIR}/messages/utf.eml
Set Suite Variable ${UTF_RESULT} ${UTF_RESULT}
@@ -44,6 +50,12 @@ WLBL From Blacklist
WLBL To Blacklist
Should Contain ${UTF_RESULT.stdout} USER_IN_BLACKLIST_TO
+WLBL To Whitelist Miss
+ Should Not Contain ${UTF_RESULT.stdout} USER_IN_WHITELIST_TO
+
+WLBL From Whitelist Miss
+ Should Not Contain ${UTF_RESULT.stdout} USER_IN_WHITELIST (
+
*** Keywords ***
SpamAssassin Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/spamassassin.conf