def test_verification_when_deletion_failed_is_unsuccessful(self):
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))
    subtopic_models.SubtopicPageSnapshotMetadataModel(id=('%s-%s-1' % (self.TOP_1_ID, self.SUBTOP_1_ID)), committer_id=self.user_1_id, commit_message='123', commit_type='create', commit_cmds={}).put_for_human()
    self.assertFalse(wipeout_service.verify_user_deleted(self.user_1_id))
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))
def test_verification_when_deletion_failed_is_unsuccessful(self):
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))
    subtopic_models.SubtopicPageSnapshotMetadataModel(id=('%s-%s-1' % (self.TOP_1_ID, self.SUBTOP_1_ID)), committer_id=self.user_1_id, commit_message='123', commit_type='create', commit_cmds={}).put_for_human()
    self.assertFalse(wipeout_service.verify_user_deleted(self.user_1_id))
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))