'The template shouldn\'t crash or print a backlink if the "from" page
doesn\'t exist.'

def test_redirect_from_nonexistent(self):

    d = DocumentFactory()
    response = self.client.get(urlparams(d.get_absolute_url(), redirectlocale='en-US', redirectslug='nonexistent'))
    self.assertNotContains(response, 'Redirected    from    ')
