aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/__init__.robot
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-07-02 17:48:58 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-07-02 18:36:15 +0200
commitad797afed513439cb2cd81de185b75880ea9f8aa (patch)
treed3826459a27b101b0051abde7681ad752760f03c /test/functional/cases/__init__.robot
parente3a301a85d355a7f559173b88613fb4da5fbd016 (diff)
downloadrspamd-ad797afed513439cb2cd81de185b75880ea9f8aa.tar.gz
rspamd-ad797afed513439cb2cd81de185b75880ea9f8aa.zip
[Test] Add & rework functional tests
- Machine formatted test data - More idiomatic use of test framework - Added tests for fuzzy & redis statistics
Diffstat (limited to 'test/functional/cases/__init__.robot')
-rw-r--r--test/functional/cases/__init__.robot22
1 files changed, 8 insertions, 14 deletions
diff --git a/test/functional/cases/__init__.robot b/test/functional/cases/__init__.robot
index 46fdc8f2a..4b95b9217 100644
--- a/test/functional/cases/__init__.robot
+++ b/test/functional/cases/__init__.robot
@@ -1,18 +1,12 @@
*** Settings ***
-Suite Setup Export Global Variables
-Library ../lib/rspamd.py
-Variables ../lib/vars.py
+Suite Setup Export Global Variables
+Library ../lib/rspamd.py
+Variables ../lib/vars.py
*** Keywords ***
Export Global Variables
- ${TESTDIR} = Get Test Directory
- Set Global Variable ${KEY_PUB1}
- Set Global Variable ${KEY_PVT1}
- Set Global Variable ${LOCAL_ADDR}
- Set Global Variable ${PORT_CONTROLLER}
- Set Global Variable ${PORT_NORMAL}
- Set Global Variable ${RSPAMC} ${TESTDIR}/../../src/client/rspamc
- Set Global Variable ${RSPAMD} ${TESTDIR}/../../src/rspamd
- Set Global Variable ${RSPAMD_GROUP}
- Set Global Variable ${RSPAMD_USER}
- Set Global Variable ${TESTDIR}
+ ${TESTDIR} = Get Test Directory
+ Set Global Variable ${RSPAMADM} ${TESTDIR}/../../src/rspamadm/rspamadm
+ Set Global Variable ${RSPAMC} ${TESTDIR}/../../src/client/rspamc
+ Set Global Variable ${RSPAMD} ${TESTDIR}/../../src/rspamd
+ Set Global Variable ${TESTDIR}