summaryrefslogtreecommitdiffstats
path: root/test/functional/cases/340_surbl.robot
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2021-05-05 00:42:11 +0200
committerAndrew Lewis <nerf@judo.za.org>2021-05-05 00:42:11 +0200
commit5569dbacfc83c42e68e8668d065707023212c6eb (patch)
tree498574bfcd327d206ce4fae74ad7cb69220c8095 /test/functional/cases/340_surbl.robot
parenta84cecac6bef1211cf8ab245d997b6ac64b6686a (diff)
downloadrspamd-5569dbacfc83c42e68e8668d065707023212c6eb.tar.gz
rspamd-5569dbacfc83c42e68e8668d065707023212c6eb.zip
[Test] Cleanup
- Use consistent naming for setup/teardown - Remove some unused files - Sort & align variables
Diffstat (limited to 'test/functional/cases/340_surbl.robot')
-rw-r--r--test/functional/cases/340_surbl.robot18
1 files changed, 5 insertions, 13 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 05e6d6754..faf4a92c2 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -1,14 +1,14 @@
*** Settings ***
-Suite Setup Surbl Setup
-Suite Teardown Surbl Teardown
+Suite Setup Rspamd Setup
+Suite Teardown Rspamd Teardown
Library ${RSPAMD_TESTDIR}/lib/rspamd.py
Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot
Variables ${RSPAMD_TESTDIR}/lib/vars.py
*** Variables ***
-${CONFIG} ${RSPAMD_TESTDIR}/configs/surbl.conf
-${RSPAMD_SCOPE} Suite
-${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
+${CONFIG} ${RSPAMD_TESTDIR}/configs/surbl.conf
+${RSPAMD_SCOPE} Suite
+${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
*** Test Cases ***
SURBL resolve ip
@@ -160,11 +160,3 @@ SURBL url compose map 2
SURBL url compose map 3
Scan File ${RSPAMD_TESTDIR}/messages/url13.eml
Expect Symbol With Exact Options BAD_SUBDOMAIN 41.black.sanchez.com:url
-
-*** Keywords ***
-Surbl Setup
- New Setup
-
-Surbl Teardown
- Normal Teardown
- Terminate All Processes kill=True