Beispiel #1
0
def Worker_commentEmail(authorUser, vision, comment):
    ctx = app.test_request_context()
    ctx.push()

    ## WORK START ##
    notifications = Notifications(test=False)
    notifications.sendCommentEmail(authorUser, vision, comment)
    ## WORK END ##

    ctx.pop()