aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-05-08 23:00:44 +0200
committerGravatar Christopher Baklid <[email protected]>2018-05-08 23:00:44 +0200
commit562a772cd4bc6b73845d37396fe42b17dff7190e (patch)
tree16eb12837c302f3cd49470d9c040f802ddf86c17
parentfix tests in travis (diff)
account for debug mode in unit testing
-rw-r--r--app_test.py1
1 files changed, 1 insertions, 0 deletions
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