From 40cc59259140f4ba5a5efca287e92aedccc6eba2 Mon Sep 17 00:00:00 2001 From: Arik Fraimovich Date: Tue, 25 Oct 2016 11:58:25 +0300 Subject: [PATCH] Make sure error are logged in tests --- tests/handlers/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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: