summaryrefslogtreecommitdiffstats
path: root/test/functional/cases/lua.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/lua.robot')
-rw-r--r--test/functional/cases/lua.robot6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/cases/lua.robot b/test/functional/cases/lua.robot
index f3a3567ec..5e5dff6c8 100644
--- a/test/functional/cases/lua.robot
+++ b/test/functional/cases/lua.robot
@@ -22,6 +22,12 @@ Dependencies
${result} = Scan Message With Rspamc ${MESSAGE}
Check Rspamc ${result} DEP10
+Pre and Post Filters
+ [Setup] Lua Setup ${TESTDIR}/lua/prepostfilters.lua
+ ${result} = Scan Message With Rspamc ${MESSAGE}
+ Check Rspamc ${result} TEST_PRE
+ Check Rspamc ${result} TEST_POST rc_nocheck=1
+
*** Keywords ***
Lua Setup
[Arguments] ${LUA_SCRIPT}