'No email should be send for child tasks in chords, chains, etc.'

def test_email_not_sent_for_child(self):

    child_status = UserTaskStatus.objects.create(user=self.user, task_id=str(uuid4()), task_class=u'test_rest_api.sample_task', name=u'SampleTask    2', total_steps=5, parent=self.status)
    user_task_stopped.send(sender=UserTaskStatus, status=child_status)
    self.assertEqual(len(mail.outbox), 0)
