Ejemplo n.º 1
0
            def _has_multiple_red_crosses_of_shame(polling_places):
                count = 0
                for polling_place in polling_places:
                    if is_noms_item_true(polling_place, "nothing") is True:
                        count += 1

                        if count >= 2:
                            return True
                return False
Ejemplo n.º 2
0
 def _has_a_red_cross_of_shame(polling_places):
     for polling_place in polling_places:
         if is_noms_item_true(polling_place, "nothing") is True:
             return True
     return False
Ejemplo n.º 3
0
 def _is_a_positive_report(polling_place):
     return is_noms_item_true(polling_place, "bbq") or is_noms_item_true(polling_place, "cake")