示例#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)