diff options
Diffstat (limited to 'test/functional/cases/104_get_from.robot')
-rw-r--r-- | test/functional/cases/104_get_from.robot | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/functional/cases/104_get_from.robot b/test/functional/cases/104_get_from.robot index e1fcbc259..a217df443 100644 --- a/test/functional/cases/104_get_from.robot +++ b/test/functional/cases/104_get_from.robot @@ -1,13 +1,13 @@ *** Settings *** Suite Setup GetFrom Setup Suite Teardown Simple Teardown -Library ${TESTDIR}/lib/rspamd.py -Resource ${TESTDIR}/lib/rspamd.robot -Variables ${TESTDIR}/lib/vars.py +Library ${RSPAMD_TESTDIR}/lib/rspamd.py +Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot +Variables ${RSPAMD_TESTDIR}/lib/vars.py *** Variables *** -${CONFIG} ${TESTDIR}/configs/lua_script.conf -${LUA_SCRIPT} ${TESTDIR}/lua/get_from.lua +${CONFIG} ${RSPAMD_TESTDIR}/configs/lua_script.conf +${RSPAMD_LUA_SCRIPT} ${RSPAMD_TESTDIR}/lua/get_from.lua ${RSPAMD_SCOPE} Suite ${SYMBOL} GET_FROM @@ -17,41 +17,41 @@ ${OPTIONS3} First M. Last,user@example.org,user,example.org *** Test Cases *** task:get_from('mime') - address only - Scan File ${TESTDIR}/messages/from/from.eml + Scan File ${RSPAMD_TESTDIR}/messages/from/from.eml Expect Symbol ${SYMBOL} task:get_from('mime') - comment - Scan File ${TESTDIR}/messages/from/from_comment.eml + Scan File ${RSPAMD_TESTDIR}/messages/from/from_comment.eml Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS1} task:get_from('mime') - display name - Scan File ${TESTDIR}/messages/from/from_dn.eml + 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 ${TESTDIR}/messages/from/from_dn_base64.eml + 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 ${TESTDIR}/messages/from/from_dn_comment.eml + 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 ${TESTDIR}/messages/from/from_quoted_dn.eml + 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 ${TESTDIR}/messages/from/from_quoted_dn_comment.eml + 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 ${TESTDIR}/messages/from/from_quoted_dn_middle.eml + 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 ${TESTDIR}/messages/from/from_quoted_dn_middle_inner.eml + Scan File ${RSPAMD_TESTDIR}/messages/from/from_quoted_dn_middle_inner.eml Expect Symbol With Exact Options ${SYMBOL} ${OPTIONS3} *** Keywords *** GetFrom Setup - New Setup LUA_SCRIPT=${LUA_SCRIPT} + New Setup |