diff options
author | 2018-04-08 01:13:55 +0100 | |
---|---|---|
committer | 2018-04-08 01:13:55 +0100 | |
commit | cf983a363514cb0d5c19c12ab942c0795b286682 (patch) | |
tree | b7340336c6e3cc113ee36c7f924912ef58b9e732 /app_test.py | |
parent | Fix build (diff) |
Fix build for real
Diffstat (limited to 'app_test.py')
-rw-r--r-- | app_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app_test.py b/app_test.py index 5747dbd6..5bb84945 100644 --- a/app_test.py +++ b/app_test.py @@ -5,8 +5,11 @@ from flask import Blueprint from flask_testing import TestCase from app import manager +from gunicorn_config import when_ready from pysite.constants import DISCORD_OAUTH_REDIRECT, DISCORD_OAUTH_AUTHORIZED +when_ready() + manager.app.tests_blueprint = Blueprint("tests", __name__) manager.load_views(manager.app.tests_blueprint, "pysite/views/tests") manager.app.register_blueprint(manager.app.tests_blueprint) |