aboutsummaryrefslogtreecommitdiffstats
path: root/app_test.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-04-09 10:34:00 +0100
committerGravatar Gareth Coles <[email protected]>2018-04-09 10:34:00 +0100
commitafc30354493ef346138281c4115118b8b0dde01b (patch)
tree9e3ee401d89a461c2372d6f16aebf6baa6367feb /app_test.py
parentContribs too picky, need new payment logos (diff)
parentAdded Python 3 cheat sheet to resources.json (diff)
Merge remote-tracking branch 'origin/master'
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)