diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-23 13:00:35 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-23 13:07:38 +0200 |
commit | dfd336d4e92f73b156cf5e3faf7a0b87fd689267 (patch) | |
tree | b522baf44db395f6bb1b5aef8849de78f66b831b /test/functional/cases/101_lua.robot | |
parent | 4d6b4e4349a0edd94f48d5472c6e3f0e4217052e (diff) | |
download | rspamd-dfd336d4e92f73b156cf5e3faf7a0b87fd689267.tar.gz rspamd-dfd336d4e92f73b156cf5e3faf7a0b87fd689267.zip |
[Test] Test option order
Diffstat (limited to 'test/functional/cases/101_lua.robot')
-rw-r--r-- | test/functional/cases/101_lua.robot | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/cases/101_lua.robot b/test/functional/cases/101_lua.robot index f3121daf8..da5f8420b 100644 --- a/test/functional/cases/101_lua.robot +++ b/test/functional/cases/101_lua.robot @@ -56,6 +56,13 @@ Maps Key Values Should Contain ${result.stdout} REGEXP_KV (1.00)[no worry] Should Contain ${result.stdout} MAP_KV (1.00)[no worry] +Option Order + [Setup] Lua Replace Setup ${TESTDIR}/lua/option_order.lua + [Teardown] Lua Replace Teardown + ${result} = Scan Message With Rspamc ${MESSAGE} + Check Rspamc ${result} OPTION_ORDER (1.00)[one, two, three, 4, 5, a] + Should Contain ${result.stdout} TBL_OPTION_ORDER (1.00)[one, two, three, 4, 5, a] + *** Keywords *** Lua Setup [Arguments] ${LUA_SCRIPT} |