From 89c19051f619b6546c3e497809217a0726358a80 Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Thu, 23 May 2024 16:19:40 +0100 Subject: [PATCH] [parl.2015] is not in election id format --- wcivf/apps/elections/tests/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcivf/apps/elections/tests/factories.py b/wcivf/apps/elections/tests/factories.py index 4e7c64bb9..3b47b0ced 100644 --- a/wcivf/apps/elections/tests/factories.py +++ b/wcivf/apps/elections/tests/factories.py @@ -9,7 +9,7 @@ class Meta: model = Election django_get_or_create = ("slug",) - slug = "parl.2015" + slug = "parl.2015-05-07" election_date = timezone.datetime(2015, 5, 7).date() current = True name = "UK General Election 2015"