From: Vsevolod Stakhov Date: Wed, 6 Jun 2018 16:02:10 +0000 (+0100) Subject: [Test] Remove url tags tests - they rely on broken functionality X-Git-Tag: 1.7.6~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c48d090592d63e5358b0b069d3700e62c4d12726;p=thirdparty%2Frspamd.git [Test] Remove url tags tests - they rely on broken functionality --- diff --git a/test/functional/cases/106_url_tags.robot b/test/functional/cases/106_url_tags.robot deleted file mode 100644 index 7954d0aac6..0000000000 --- a/test/functional/cases/106_url_tags.robot +++ /dev/null @@ -1,41 +0,0 @@ -*** Settings *** -Suite Setup URL Tags Setup -Suite Teardown URL Tags Teardown -Library ${TESTDIR}/lib/rspamd.py -Resource ${TESTDIR}/lib/rspamd.robot -Variables ${TESTDIR}/lib/vars.py - -*** Variables *** -${ADDITIONAL} ${TESTDIR}/lua/url_tags.lua -${CONFIG} ${TESTDIR}/configs/pluginsplus.conf -${MESSAGE} ${TESTDIR}/messages/url1.eml -${REDIS_SCOPE} Suite -${RSPAMD_SCOPE} Suite -${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat - -*** Test Cases *** -URL TAGS PERSISTENCE - ${result} = Scan Message With Rspamc --header=addtags=1 ${MESSAGE} - Check Rspamc ${result} ADDED_TAGS (1.00)[no worry] - ${result} = Scan Message With Rspamc ${MESSAGE} - Check Rspamc ${result} FOUND_TAGS (1.00)[no worry] - -*** Keywords *** -URL Tags Setup - ${TMPDIR} = Make Temporary Directory - Set Suite Variable ${TMPDIR} - Run Redis - ${LUA} = Make Temporary File - ${goop} = Get File ${INSTALLROOT}/share/rspamd/rules/rspamd.lua - ${goop2} = Get File ${ADDITIONAL} - ${goop_unesc} = Catenate ${goop} ${goop2} - ${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/url_tags.conf - Set Suite Variable ${LUA} - Set Suite Variable ${PLUGIN_CONFIG} - Create File ${LUA} ${goop_unesc} - Generic Setup TMPDIR=${TMPDIR} - -URL Tags Teardown - Normal Teardown - Remove File ${LUA} - Shutdown Process With Children ${REDIS_PID}