Commit 80f8415e authored by Jorrit Schaap's avatar Jorrit Schaap

TMSS-142: some platforms/configurations cannot import flask/werkzeug. exit...

TMSS-142: some platforms/configurations cannot import flask/werkzeug. exit with special code for now... until we understand why.
parent 11a70380
......@@ -28,7 +28,13 @@ from io import StringIO
from lofar.lta.ltastorageoverview import store
from lofar.lta.ltastorageoverview.testing.common_test_ltastoragedb import LTAStorageDbTestMixin
from lofar.lta.ltastorageoverview.webservice import webservice as webservice
from flask_testing import LiveServerTestCase as FlaskLiveTestCase
try:
from flask_testing import LiveServerTestCase as FlaskLiveTestCase
except ImportError:
# some platforms/configurations cannot import flask/werkzeug
# exit with special code for now... until we understand why.
exit(3)
import logging
from lofar.common.test_utils import unit_test, integration_test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment