aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-06 17:02:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-06 17:02:10 +0100
commitc48d090592d63e5358b0b069d3700e62c4d12726 (patch)
treedb9e22c5b50cc30f3db53122b824f1c02d7af87c
parent9fa16c0eadb1b11edc41c7cb72ab4cb3493b18f6 (diff)
downloadrspamd-c48d090592d63e5358b0b069d3700e62c4d12726.tar.gz
rspamd-c48d090592d63e5358b0b069d3700e62c4d12726.zip
[Test] Remove url tags tests - they rely on broken functionality
-rw-r--r--test/functional/cases/106_url_tags.robot41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/functional/cases/106_url_tags.robot b/test/functional/cases/106_url_tags.robot
deleted file mode 100644
index 7954d0aac..000000000
--- 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}