aboutsummaryrefslogtreecommitdiffstats
path: root/app_test.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-04-08 01:13:55 +0100
committerGravatar Gareth Coles <[email protected]>2018-04-08 01:13:55 +0100
commitcf983a363514cb0d5c19c12ab942c0795b286682 (patch)
treeb7340336c6e3cc113ee36c7f924912ef58b9e732 /app_test.py
parentFix build (diff)
Fix build for real
Diffstat (limited to 'app_test.py')
-rw-r--r--app_test.py3
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)