commit c9911b8: [Test] Killmeplease...

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jul 17 14:07:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-17 15:03:03 +0100
URL: https://github.com/rspamd/rspamd/commit/c9911b8d8de442a18cf4ba99045987ffdf0ec775 (HEAD -> master)

[Test] Killmeplease...

---
 test/functional/cases/330_neural.robot | 2 --
 test/functional/configs/neural.conf    | 3 ++-
 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


More information about the Commits mailing list