'No redirect should be made when an unsaved doc\'s title or slug is
changed.'

def test_no_redirect_on_unsaved_change(self):

    d = DocumentFactory(title='Gerbil')
    d.title = 'Weasel'
    d.save()
    assert (not Document.objects.filter(title='Gerbil').exists())
