diff options
author | Andrew Lewis <nerf@judo.za.org> | 2021-05-11 13:50:29 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2021-05-18 11:41:13 +0200 |
commit | 5f7dd6e1f27ebec013ed74865f9c1873414380cb (patch) | |
tree | e542005b610c32590a4586f313da844564295467 /test/functional/cases/104_get_from.robot | |
parent | 7974dd00478625cbe8e754e67e39bf52d361bda9 (diff) | |
download | rspamd-5f7dd6e1f27ebec013ed74865f9c1873414380cb.tar.gz rspamd-5f7dd6e1f27ebec013ed74865f9c1873414380cb.zip |
[Test] Merge test suites; use settings
Diffstat (limited to 'test/functional/cases/104_get_from.robot')
-rw-r--r-- | test/functional/cases/104_get_from.robot | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/test/functional/cases/104_get_from.robot b/test/functional/cases/104_get_from.robot deleted file mode 100644 index 84b754f37..000000000 --- a/test/functional/cases/104_get_from.robot +++ /dev/null @@ -1,52 +0,0 @@ -*** Settings *** -Suite Setup Rspamd Setup -Suite Teardown Rspamd Teardown -Library ${RSPAMD_TESTDIR}/lib/rspamd.py -Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot -Variables ${RSPAMD_TESTDIR}/lib/vars.py - -*** Variables *** -${CONFIG} ${RSPAMD_TESTDIR}/configs/lua_script.conf -${OPTIONS1} ,user@example.org,user,example.org -${OPTIONS2} First Last,user@example.org,user,example.org -${OPTIONS3} First M. Last,user@example.org,user,example.org -${RSPAMD_LUA_SCRIPT} ${RSPAMD_TESTDIR}/lua/get_from.lua -${RSPAMD_SCOPE} Suite -${SYMBOL} GET_FROM - -*** Test Cases *** -task:get_from('mime') - address only - Scan File ${RSPAMD_TESTDIR}/messages/from/from.eml - Expect Symbol ${SYMBOL} - -task:get_from('mime') - comment - Scan File ${RSPAMD_TESTDIR}/messages/from/from_comment.eml - Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS1} - -task:get_from('mime') - display name - Scan File ${RSPAMD_TESTDIR}/messages/from/from_dn.eml - Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS2} - -task:get_from('mime') - display name Base64 - Scan File ${RSPAMD_TESTDIR}/messages/from/from_dn_base64.eml - Expect Symbol With Exact Options ${SYMBOL} Кириллица,user@example.org,user,example.org - -task:get_from('mime') - display name and comment - Scan File ${RSPAMD_TESTDIR}/messages/from/from_dn_comment.eml - Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS2} - -task:get_from('mime') - quoted display name - Scan File ${RSPAMD_TESTDIR}/messages/from/from_quoted_dn.eml - Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS3} - -task:get_from('mime') - quoted display name and comment - Scan File ${RSPAMD_TESTDIR}/messages/from/from_quoted_dn_comment.eml - Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS3} - -task:get_from('mime') - quoted in the middle of DN (outer spaces) - Scan File ${RSPAMD_TESTDIR}/messages/from/from_quoted_dn_middle.eml - Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS3} - -task:get_from('mime') - quoted in the middle of DN (inner spaces) - Scan File ${RSPAMD_TESTDIR}/messages/from/from_quoted_dn_middle_inner.eml - Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS3} |