'Creating a revision without being logged in redirects to login page.'

def test_new_revision_GET_logged_out(self):

    self.client.logout()
    response = self.client.get(reverse('wiki.edit_document', args=[self.d.slug]))
    eq_(302, response.status_code)
