예제 #1
0
# coding: utf-8
__author__ = 'Paul Cunningham'
__copyright = 'Copyright 2017, Paul Cunningham'

from huey_config import config
from app.extensions.queue import create_huey
huey = create_huey(config)

from app.tasks import (
    send_async_email,
)

if __name__ == '__main__':
    pass
예제 #2
0
 def setUp(self):
     self.huey = create_huey(_config_2)