aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/260_regex.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/260_regex.robot')
-rw-r--r--test/functional/cases/260_regex.robot30
1 files changed, 10 insertions, 20 deletions
diff --git a/test/functional/cases/260_regex.robot b/test/functional/cases/260_regex.robot
index f19e389a0..5cf48fe18 100644
--- a/test/functional/cases/260_regex.robot
+++ b/test/functional/cases/260_regex.robot
@@ -1,16 +1,16 @@
*** Settings ***
-Test Setup Regex Setup
-Test Teardown Regex Teardown
-Library ${TESTDIR}/lib/rspamd.py
-Resource ${TESTDIR}/lib/rspamd.robot
-Variables ${TESTDIR}/lib/vars.py
+Test Setup Rspamd Setup
+Test Teardown Rspamd Teardown
+Library ${RSPAMD_TESTDIR}/lib/rspamd.py
+Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot
+Variables ${RSPAMD_TESTDIR}/lib/vars.py
*** Variables ***
-${CONFIG} ${TESTDIR}/configs/plugins.conf
-${MESSAGE} ${TESTDIR}/messages/newlines.eml
-${UTF_MESSAGE} ${TESTDIR}/messages/utf.eml
-${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
-${RSPAMD_SCOPE} Test
+${CONFIG} ${RSPAMD_TESTDIR}/configs/regexp.conf
+${MESSAGE} ${RSPAMD_TESTDIR}/messages/newlines.eml
+${RSPAMD_SCOPE} Test
+${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
+${UTF_MESSAGE} ${RSPAMD_TESTDIR}/messages/utf.eml
*** Test Cases ***
@@ -26,13 +26,3 @@ Newlines
Expect Symbol With Option FOUND_URL https://google.com/maps/
Expect Symbol With Option FOUND_URL https://www.google.com/search?q\=hello world&oq\=hello world&aqs\=chrome..69i57j0l5.3045j0j7&sourceid\=chrome&ie\=UTF-8
Expect Symbol With Option FOUND_URL https://github.com/google/sanitizers/wiki/AddressSanitizer
-
-
-*** Keywords ***
-Regex Setup
- ${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/regexp.conf
- Set Suite Variable ${PLUGIN_CONFIG}
- Generic Setup PLUGIN_CONFIG
-
-Regex Teardown
- Normal Teardown