def test_get_number_of_pending_deletion_requests_returns_correct_number(self):
    number_of_pending_deletion_requests = wipeout_service.get_number_of_pending_deletion_requests()
    self.assertEqual(number_of_pending_deletion_requests, 0)
    wipeout_service.save_pending_deletion_requests([wipeout_domain.PendingDeletionRequest.create_default(self.user_1_id, self.USER_1_EMAIL, self.user_1_role), wipeout_domain.PendingDeletionRequest.create_default(self.user_2_id, self.USER_2_EMAIL, self.user_2_role)])
    number_of_pending_deletion_requests = wipeout_service.get_number_of_pending_deletion_requests()
    self.assertEqual(number_of_pending_deletion_requests, 2)
def test_get_number_of_pending_deletion_requests_returns_correct_number(self):
    number_of_pending_deletion_requests = wipeout_service.get_number_of_pending_deletion_requests()
    self.assertEqual(number_of_pending_deletion_requests, 0)
    wipeout_service.save_pending_deletion_requests([wipeout_domain.PendingDeletionRequest.create_default(self.user_1_id, self.USER_1_EMAIL, self.user_1_role), wipeout_domain.PendingDeletionRequest.create_default(self.user_2_id, self.USER_2_EMAIL, self.user_2_role)])
    number_of_pending_deletion_requests = wipeout_service.get_number_of_pending_deletion_requests()
    self.assertEqual(number_of_pending_deletion_requests, 2)