aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/330_neural/001_autotrain.robot
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2021-05-04 21:43:55 +0200
committerAndrew Lewis <nerf@judo.za.org>2021-05-04 21:52:33 +0200
commita84cecac6bef1211cf8ab245d997b6ac64b6686a (patch)
tree6df6518a5cc60411967a513fa8e5bc418316a1d5 /test/functional/cases/330_neural/001_autotrain.robot
parentdb4da2c22d159d1a6450b9447ad90e1795e5c535 (diff)
downloadrspamd-a84cecac6bef1211cf8ab245d997b6ac64b6686a.tar.gz
rspamd-a84cecac6bef1211cf8ab245d997b6ac64b6686a.zip
[Test] Use automatically exported variables
Diffstat (limited to 'test/functional/cases/330_neural/001_autotrain.robot')
-rw-r--r--test/functional/cases/330_neural/001_autotrain.robot14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/cases/330_neural/001_autotrain.robot b/test/functional/cases/330_neural/001_autotrain.robot
index b4851f7c3..23ffa9b25 100644
--- a/test/functional/cases/330_neural/001_autotrain.robot
+++ b/test/functional/cases/330_neural/001_autotrain.robot
@@ -2,14 +2,14 @@
Suite Setup Neural Setup
Suite Teardown Normal Teardown
Library Process
-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 ***
-${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
-${CONFIG} ${TESTDIR}/configs/neural.conf
-${MESSAGE} ${TESTDIR}/messages/spam_message.eml
+${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
+${CONFIG} ${RSPAMD_TESTDIR}/configs/neural.conf
+${MESSAGE} ${RSPAMD_TESTDIR}/messages/spam_message.eml
${REDIS_SCOPE} Suite
${RSPAMD_SCOPE} Suite
@@ -65,4 +65,4 @@ Check Neural SPAM INVERSE
*** Keywords ***
Neural Setup
Run Redis
- New Setup URL_TLD=${URL_TLD}
+ New Setup