aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/108_settings.robot
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-14 19:58:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-14 19:58:46 +0100
commitab3698b6fa4613ea34bc3ad52c8cfcea9418c870 (patch)
tree5466845b23d8bfb72c7b8aad4d98ea242a770746 /test/functional/cases/108_settings.robot
parent6eafa83752e1fe4afbb466eb20bd96ff4bd1dc9f (diff)
downloadrspamd-ab3698b6fa4613ea34bc3ad52c8cfcea9418c870.tar.gz
rspamd-ab3698b6fa4613ea34bc3ad52c8cfcea9418c870.zip
[Test] Add test for virtual symbols
Diffstat (limited to 'test/functional/cases/108_settings.robot')
-rw-r--r--test/functional/cases/108_settings.robot14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/functional/cases/108_settings.robot b/test/functional/cases/108_settings.robot
index 7b2773863..f1b92c214 100644
--- a/test/functional/cases/108_settings.robot
+++ b/test/functional/cases/108_settings.robot
@@ -95,6 +95,20 @@ SETTINGS ID - PRE
Should Not Contain ${result.stdout} SIMPLE_TEST
Should Not Contain ${result.stdout} SIMPLE_POST
+SETTINGS ID - VIRTUAL
+ ${result} = Scan Message With Rspamc ${MESSAGE} --header Settings-Id=id_virtual
+ Check Rspamc ${result} SIMPLE_VIRTUAL
+ Should Not Contain ${result.stdout} SIMPLE_TEST
+ Should Not Contain ${result.stdout} SIMPLE_POST
+ Should Not Contain ${result.stdout} SIMPLE_PRE
+
+SETTINGS ID - VIRTUAL GROUP
+ ${result} = Scan Message With Rspamc ${MESSAGE} --header Settings-Id=id_virtual_group
+ Check Rspamc ${result} SIMPLE_VIRTUAL
+ Should Not Contain ${result.stdout} SIMPLE_TEST
+ Should Not Contain ${result.stdout} SIMPLE_POST
+ Should Not Contain ${result.stdout} SIMPLE_PRE
+
*** Keywords ***
Settings Setup
Copy File ${TESTDIR}/data/bayes.spam.sqlite3 /tmp/bayes.spam.sqlite3