Finished celery refactor - set up config for queue prefix

LEO notes: Also made sure the Test BROKER_URL is preserved so that
tests warn you when celery isn't mocked out
This commit is contained in:
Martyn Inglis
2017-06-09 16:20:02 +01:00
committed by Leo Hemsted
parent 786adb5d71
commit 0e9e8955f7
4 changed files with 33 additions and 20 deletions

View File

@@ -49,7 +49,6 @@ def create_app(app_name=None):
from app.config import configs
notify_environment = os.environ['NOTIFY_ENVIRONMENT']
application.config.from_object(configs[notify_environment])
if app_name: