'Deleting a revision without permissions sends 403.'

def test_delete_revision_without_permissions(self):

    u = UserFactory()
    doc = DocumentFactory()
    rev = ApprovedRevisionFactory(document=doc)
    self.client.login(username=u.username, password='testpass')
    response = get(self.client, 'wiki.delete_revision', args=[doc.slug, rev.id])
    eq_(403, response.status_code)
    response = post(self.client, 'wiki.delete_revision', args=[doc.slug, rev.id])
    eq_(403, response.status_code)
