diff --git a/ynr/apps/elections/tests/test_ballot_view.py b/ynr/apps/elections/tests/test_ballot_view.py index a3f967972..e08c0bd2e 100644 --- a/ynr/apps/elections/tests/test_ballot_view.py +++ b/ynr/apps/elections/tests/test_ballot_view.py @@ -11,6 +11,7 @@ OrganizationFactory, PostFactory, ) +from django.template.defaultfilters import date from django.utils.html import escape from django_webtest import WebTest from elections.filters import ( @@ -130,8 +131,9 @@ def test_ballot_with_candidates_no_sopn(self): self.assertEqual(response.context["candidates"].count(), 9) self.assertDataTimelineCandidateAddingInProgress(response) + self.assertInHTML( - "