'Make sure we send a generic email if the BASE_URL artifact doesn\'t exist'

def test_email_sent_without_site(self):

    user_task_stopped.send(sender=UserTaskStatus, status=self.status)
    subject = u'{platform_name}    {studio_name}:    Task    Status    Update'.format(platform_name=settings.PLATFORM_NAME, studio_name=settings.STUDIO_NAME)
    fragments = [u'Your    {task_name}    task    has    completed    with    the    status'.format(task_name=self.status.name.lower()), u'Sign    in    to    view    the    details    of    your    task    or    download    any    files    created.']
    self.assertEqual(len(mail.outbox), 1)
    msg = mail.outbox[0]
    self.assertEqual(msg.subject, subject)
    for fragment in fragments:
        self.assertIn(fragment, msg.body)
