diff options
author | 2018-05-08 23:00:44 +0200 | |
---|---|---|
committer | 2018-05-08 23:00:44 +0200 | |
commit | 562a772cd4bc6b73845d37396fe42b17dff7190e (patch) | |
tree | 16eb12837c302f3cd49470d9c040f802ddf86c17 | |
parent | fix tests in travis (diff) |
account for debug mode in unit testing
-rw-r--r-- | app_test.py | 1 |
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 |