'Can\'t delete an image logged out.'

def test_delete_image_logged_out(self):

    self.test_upload_image()
    im = ImageAttachment.objects.all()[0]
    self.client.logout()
    r = self._make_post_request(args=[im.id])
    eq_(403, r.status_code)
    assert ImageAttachment.objects.exists()
