Skip to content
Snippets Groups Projects
Commit 8ae456f2 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Added a conf to ignore burp test.

parent ccd040c8
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,9 @@ os.chdir(os.path.dirname(__file__)) ...@@ -52,6 +52,9 @@ os.chdir(os.path.dirname(__file__))
if os.path.isfile('../utils.py'): if os.path.isfile('../utils.py'):
es_utils = imp.load_source('es_utils', '../utils.py') es_utils = imp.load_source('es_utils', '../utils.py')
conf = es_utils.load_conf() 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_SERVER = conf.get('BURP_SERVER')
BURP_CLIENT_NAME = conf.get('BURP_CLIENT_NAME') or 'localhost' BURP_CLIENT_NAME = conf.get('BURP_CLIENT_NAME') or 'localhost'
if BURP_SERVER: if BURP_SERVER:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment