aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/109_composites.robot
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2021-05-04 13:48:37 +0200
committerAndrew Lewis <nerf@judo.za.org>2021-05-04 13:48:37 +0200
commitdb4da2c22d159d1a6450b9447ad90e1795e5c535 (patch)
treee2c05c4e4d0668e02a7a5e2b279c5d76d1403b90 /test/functional/cases/109_composites.robot
parent6244d64b43baa240d63528849a7a47b3f32eccc3 (diff)
downloadrspamd-db4da2c22d159d1a6450b9447ad90e1795e5c535.tar.gz
rspamd-db4da2c22d159d1a6450b9447ad90e1795e5c535.zip
[Test] Use lupa for templating rspamd configs
Diffstat (limited to 'test/functional/cases/109_composites.robot')
-rw-r--r--test/functional/cases/109_composites.robot10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/functional/cases/109_composites.robot b/test/functional/cases/109_composites.robot
index 3aeb009ed..8c93642dc 100644
--- a/test/functional/cases/109_composites.robot
+++ b/test/functional/cases/109_composites.robot
@@ -1,5 +1,5 @@
*** Settings ***
-Suite Setup Generic Setup
+Suite Setup Composites Setup
Suite Teardown Simple Teardown
Library ${TESTDIR}/lib/rspamd.py
Resource ${TESTDIR}/lib/rspamd.robot
@@ -66,7 +66,7 @@ Composites - Opts RE Hit
Do Not Expect Symbol SYMOPTS3
Composites - Opts RE Hit 2
- Scan File ${MESSAGE} opts=foo/,sym2
+ Scan File ${MESSAGE} opts=sym2,foo/
Expect Symbol With Score SYMOPTS3 6.00
Do Not Expect Symbol SYMOPTS2
Do Not Expect Symbol SYMOPTS1
@@ -75,4 +75,8 @@ Composites - Opts RE Hit 3
Scan File ${MESSAGE} opts=example.com->app.link
Expect Symbol With Score SYMOPTS4 6.00
Do Not Expect Symbol SYMOPTS2
- Do Not Expect Symbol SYMOPTS1 \ No newline at end of file
+ Do Not Expect Symbol SYMOPTS1
+
+*** Keywords ***
+Composites Setup
+ New Setup LUA_SCRIPT=${LUA_SCRIPT}