From 562a772cd4bc6b73845d37396fe42b17dff7190e Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Tue, 8 May 2018 23:00:44 +0200 Subject: account for debug mode in unit testing --- app_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app_test.py b/app_test.py index 7379034a..27f88164 100644 --- a/app_test.py +++ b/app_test.py @@ -6,6 +6,7 @@ from flask import Blueprint from flask_testing import TestCase os.environ["BOT_API_KEY"] = "abcdefg" # This is a constant, must be done first +del os.environ["FLASK_DEBUG"] # Some unit tests fail if this is set from app import manager from gunicorn_config import when_ready -- cgit v1.2.3