'Can\'t delete an image without permission.'

def test_delete_image_no_permission(self):

    u = UserFactory(username='tagger')
    assert (not u.has_perm('upload.delete_imageattachment'))
    self.test_upload_image()
    im = ImageAttachment.objects.all()[0]
    self.client.login(username='tagger', password='testpass')
    r = self._make_post_request(args=[im.id])
    eq_(403, r.status_code)
    assert ImageAttachment.objects.exists()
