Ejemplo n.º 1
0
def handle_emails_post_case_save(sender, instance, created=False, **_kwargs):
    """
        Send email updates after a TestCase has been updated!
    """
    if not created and instance.emailing.notify_on_case_update:
        from tcms.testcases.helpers import email
        email.email_case_update(instance)
Ejemplo n.º 2
0
def on_case_save(sender, instance, created=False, **kwargs):
    # case update and email
    if not created:
        if instance.emailing.notify_on_case_update:
            email.email_case_update(instance)
Ejemplo n.º 3
0
def on_case_save(sender, instance, created=False, **kwargs):
    # case update and email
    if not created:
        if instance.emailing.notify_on_case_update:
            email.email_case_update(instance)