Пример #1
0
 def test_pass_tamper_true_no_recon(self):
     """Test pass tampering returns true with no recon form"""
     center = create_center()
     create_station(center=center,
                    registrants=1)
     result_form = create_result_form(center=center)
     self.assertEqual(pass_tampering(result_form), True)
Пример #2
0
 def test_pass_tampering_true(self):
     center = create_center()
     create_station(center=center, registrants=1)
     result_form = create_result_form(center=center)
     create_reconciliation_form(result_form,
                                self.user,
                                number_unstamped_ballots=0)
     self.assertEqual(pass_tampering(result_form), True)
Пример #3
0
 def test_pass_tampering_true(self):
     center = create_center()
     create_station(center=center,
                    registrants=1)
     result_form = create_result_form(center=center)
     create_reconciliation_form(result_form,
                                self.user,
                                number_unstamped_ballots=0)
     self.assertEqual(pass_tampering(result_form), True)
Пример #4
0
 def test_pass_tampering_true_diff(self):
     """Test pass tampering returns true difference"""
     center = create_center()
     create_station(center=center,
                    registrants=1)
     result_form = create_result_form(center=center)
     create_candidates(result_form, self.user, num_results=1)
     create_reconciliation_form(result_form,
                                self.user,
                                number_ballots_inside_box=250,
                                number_unstamped_ballots=0)
     self.assertEqual(pass_tampering(result_form), True)
Пример #5
0
 def test_pass_tamper_true_no_recon(self):
     center = create_center()
     create_station(center=center,
                    registrants=1)
     result_form = create_result_form(center=center)
     self.assertEqual(pass_tampering(result_form), True)
Пример #6
0
 def test_pass_tamper_true_no_recon(self):
     center = create_center()
     create_station(center=center, registrants=1)
     result_form = create_result_form(center=center)
     self.assertEqual(pass_tampering(result_form), True)