aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/220_http.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/220_http.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/220_http.robot')
-rw-r--r--test/functional/cases/220_http.robot12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/cases/220_http.robot b/test/functional/cases/220_http.robot
index 5799e418f..690222855 100644
--- a/test/functional/cases/220_http.robot
+++ b/test/functional/cases/220_http.robot
@@ -7,11 +7,11 @@ Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot
Variables ${RSPAMD_TESTDIR}/lib/vars.py
*** Variables ***
+${CONFIG} ${RSPAMD_TESTDIR}/configs/lua_test.conf
+${MESSAGE} ${RSPAMD_TESTDIR}/messages/spam_message.eml
${RSPAMD_LUA_SCRIPT} ${RSPAMD_TESTDIR}/lua/http.lua
-${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
-${CONFIG} ${RSPAMD_TESTDIR}/configs/lua_test.conf
-${MESSAGE} ${RSPAMD_TESTDIR}/messages/spam_message.eml
-${RSPAMD_SCOPE} Test
+${RSPAMD_SCOPE} Test
+${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
*** Test Cases ***
Simple HTTP request
@@ -43,14 +43,14 @@ SSL Large HTTP request
Http Setup
Run Dummy Http
Run Dummy Https
- New Setup
+ Rspamd Setup
Http Teardown
${http_pid} = Get File /tmp/dummy_http.pid
Shutdown Process With Children ${http_pid}
${https_pid} = Get File /tmp/dummy_https.pid
Shutdown Process With Children ${https_pid}
- Normal Teardown
+ Rspamd Teardown
Run Dummy Http
${result} = Start Process ${RSPAMD_TESTDIR}/util/dummy_http.py