From 116f7a6daaa2d29db30bc0765427d011fa99ce9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Fri, 9 Oct 2020 15:49:48 +0200 Subject: Force admins to set secret_key if debug mode is disabled This commit also enables debug mode for unit tests. --- tests/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/__init__.py b/tests/__init__.py index e69de29bb..18bf7cad8 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,2 @@ +import os +os.environ['SEARX_DEBUG'] = '1' -- cgit v1.2.3