def test_verification_when_deletion_failed_is_unsuccessful(self):
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_2_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_2_id))
    story_services.update_story(self.user_2_id, self.STORY_2_ID, [story_domain.StoryChange({'cmd': story_domain.CMD_ADD_STORY_NODE, 'node_id': 'node_1', 'title': 'Title 2'})], 'Add node.')
    self.assertFalse(wipeout_service.verify_user_deleted(self.user_2_id))
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_2_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_2_id))
def test_verification_when_deletion_failed_is_unsuccessful(self):
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_2_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_2_id))
    story_services.update_story(self.user_2_id, self.STORY_2_ID, [story_domain.StoryChange({'cmd': story_domain.CMD_ADD_STORY_NODE, 'node_id': 'node_1', 'title': 'Title 2'})], 'Add node.')
    self.assertFalse(wipeout_service.verify_user_deleted(self.user_2_id))
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_2_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_2_id))