

def test_remote_delete_a_page(self):
    git.rm(self.page.path)
    git.commit('-m', 'delete page')
    response = self.client.post(self.url, {
        
    })
    self.assertEqual(Page.objects.count(), 0)

dataset/ETHPy150Open mgaitan/waliki/tests/test_git_webhook.py TestGitWebhook.test_remote_delete_a_page/original