From 64ffe24b2fcc5785e5134969fd9adc9ef56d7e6b Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Thu, 23 May 2024 10:23:21 +0100 Subject: [PATCH] fixup! Customise Dummy PostElection --- wcivf/apps/elections/dummy_models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wcivf/apps/elections/dummy_models.py b/wcivf/apps/elections/dummy_models.py index 8163d6d01..4bf83b778 100644 --- a/wcivf/apps/elections/dummy_models.py +++ b/wcivf/apps/elections/dummy_models.py @@ -10,7 +10,7 @@ class DummyPostElection(PostElection): display_as_party_list = False locked = True voting_system_id = "FPTP" - ballot_paper_id = "local.faketown.made-up-ward.2024-05-31" + ballot_paper_id = "local.faketown.made-up-ward.2024-07-04" cancelled = False show_polling_card = True contested = True @@ -18,9 +18,9 @@ class DummyPostElection(PostElection): election = Election( name="Llantalbot local election", - election_date=date(2024, 5, 31), + election_date=date(2024, 7, 4), any_non_by_elections=True, - slug="local.faketown.2024-05-31", + slug="local.faketown.2024-07-04", voting_system=VotingSystem(slug="FPTP"), current=True, ) @@ -34,7 +34,7 @@ class Meta: def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.ballot_paper_id = "local.faketown.made-up-ward.2024-05-31" + self.ballot_paper_id = "local.faketown.made-up-ward.2024-07-04" self.election.get_absolute_url = self.election_get_absolute_url def election_get_absolute_url(self):