def METHOD_NAME(self):
    # create 10 ballots matching out filter above
    self.create_ballots_with_results(
        num=10,
        resultset=True,
        candidates_locked=True,
        winner_count=1,
        num_winners=1,
    )
    # create 10 more with two winners each
    self.create_ballots_with_results(
        num=10,
        resultset=True,
        candidates_locked=True,
        winner_count=2,
        num_winners=2,
    )
    view = ElectionListView()
    view.setup(request=self.request)
    with patch.object(
        Ballot.objects,
        "current_or_future",
        return_value=Ballot.objects.all(),
    ):
        context = view.get_context_data()
        qs = context["queryset"]
        # expect 20 in total
        self.assertEqual(qs.count(), 20)
        # 10 where 1 person elected
        self.assertEqual(qs.filter(elected_count=1).count(), 10)
        # 10 where two people were elected
        self.assertEqual(qs.filter(elected_count=2).count(), 10)
        # all have same num candidates
        self.assertEqual(qs.filter(memberships_count=9).count(), 20)