def delete(self, photo_id, album_id=0):
        if isinstance(photo_id, Info):
            photo_id = photo_id.id
        return self._session.okc_post('photoupload', data={
            'albumid': album_id,
            'picid': photo_id,
            'authcode': self._authcode,
            'picture.delete_ajax': 1
        })
Testing adding a webhook for custom repositories
dataset/ETHPy150Open IvanMalison/okcupyd/okcupyd/photo.py/PhotoUploader.delete--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_webhook.py/ResourceListTests.test_post_with_repositories