aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-17 15:03:03 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-17 15:03:03 +0100
commitc9911b8d8de442a18cf4ba99045987ffdf0ec775 (patch)
tree084d646431715f1efd8fc5740c1094530ae60c8a /test/functional
parentfb480c416919857c208a6c33e779d8417479b381 (diff)
downloadrspamd-c9911b8d8de442a18cf4ba99045987ffdf0ec775.tar.gz
rspamd-c9911b8d8de442a18cf4ba99045987ffdf0ec775.zip
[Test] Killmeplease...
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/cases/330_neural.robot2
-rw-r--r--test/functional/configs/neural.conf3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/cases/330_neural.robot b/test/functional/cases/330_neural.robot
index 6681de14b..67c8c0373 100644
--- a/test/functional/cases/330_neural.robot
+++ b/test/functional/cases/330_neural.robot
@@ -10,7 +10,6 @@ Variables ${TESTDIR}/lib/vars.py
${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
${CONFIG} ${TESTDIR}/configs/plugins.conf
${MESSAGE} ${TESTDIR}/messages/spam_message.eml
-${LUA_SCRIPT} ${TESTDIR}/lua/neural.lua
${REDIS_SCOPE} Suite
${RSPAMD_SCOPE} Suite
@@ -63,7 +62,6 @@ Check Neural SPAM INVERSE
Neural Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/neural.conf
Set Suite Variable ${PLUGIN_CONFIG}
- Set Suite Variable ${LUA_SCRIPT}
Generic Setup PLUGIN_CONFIG
Run Redis
diff --git a/test/functional/configs/neural.conf b/test/functional/configs/neural.conf
index a8b30b197..a6abad3e0 100644
--- a/test/functional/configs/neural.conf
+++ b/test/functional/configs/neural.conf
@@ -23,4 +23,5 @@ redis {
servers = "${REDIS_ADDR}:${REDIS_PORT}";
expand_keys = true;
}
-lua = ${LUA_SCRIPT}; \ No newline at end of file
+
+lua = "${TESTDIR}/lua/neural.lua"; \ No newline at end of file