From 8ae456f235a938abaf5b1d11883e8032799b4f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Tue, 14 Mar 2017 09:09:28 +0100 Subject: [PATCH] Added a conf to ignore burp test. --- tests/test_backup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_backup.py b/tests/test_backup.py index c277ef8a..b3036fb2 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -52,6 +52,9 @@ os.chdir(os.path.dirname(__file__)) if os.path.isfile('../utils.py'): es_utils = imp.load_source('es_utils', '../utils.py') conf = es_utils.load_conf() + if conf.get('BURP_NO_TEST'): + print('BURP_NO_TEST is set in config, test skipped') + sys.exit(2) BURP_SERVER = conf.get('BURP_SERVER') BURP_CLIENT_NAME = conf.get('BURP_CLIENT_NAME') or 'localhost' if BURP_SERVER: -- GitLab