diff --git a/tests/handlers/__init__.py b/tests/handlers/__init__.py index 3a9b2fa82..7f2f0c157 100644 --- a/tests/handlers/__init__.py +++ b/tests/handlers/__init__.py @@ -1,10 +1,12 @@ import json +import logging from contextlib import contextmanager from tests.factories import user_factory from redash.utils import json_dumps from redash.wsgi import app +app.config['TESTING'] = True def authenticate_request(c, user): with c.session_transaction() as sess: