diff options
author | Andrew Lewis <nerf@judo.za.org> | 2023-11-18 03:38:06 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2023-11-18 03:38:06 +0200 |
commit | 2f0b0d09b3878b98c98585978c34b73cab0c9b3a (patch) | |
tree | 50ed8be37fe752a04504b82c78162b61b9b66062 /test/functional/lib | |
parent | 66620b534846573efd0222e3d6980b54b5259c20 (diff) | |
download | rspamd-2f0b0d09b3878b98c98585978c34b73cab0c9b3a.tar.gz rspamd-2f0b0d09b3878b98c98585978c34b73cab0c9b3a.zip |
[Test] Skip miltertest tests if it is not installed
Diffstat (limited to 'test/functional/lib')
-rw-r--r-- | test/functional/lib/vars.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/lib/vars.py b/test/functional/lib/vars.py index 898d21286..0a12a8191 100644 --- a/test/functional/lib/vars.py +++ b/test/functional/lib/vars.py @@ -1,6 +1,8 @@ +import shutil import socket CONTROLLER_ERRORS = True +HAVE_MILTERTEST = shutil.which('miltertest') and True or False RSPAMD_EXTERNAL_RELAY_ENABLED = False RSPAMD_KEY_PVT1 = 'ekd3x36tfa5gd76t6pa8hqif3ott7n1siuux68exbkk7ukscte9y' RSPAMD_KEY_PUB1 = 'm8kneubpcjsb8sbsoj7jy7azj9fdd3xmj63txni86a8ye9ncomny' |