From 8880a3e3f7dffe8a59c1758e2687282cab807bc6 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Fri, 2 Aug 2024 18:24:35 +0000 Subject: [PATCH] test(models): assert the default eligibility_start_template --- tests/pytest/core/test_models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/pytest/core/test_models.py b/tests/pytest/core/test_models.py index 931015a52..f45649d5f 100644 --- a/tests/pytest/core/test_models.py +++ b/tests/pytest/core/test_models.py @@ -264,6 +264,11 @@ def __init__(self, *args, **kwargs): self.kwargs = kwargs +@pytest.mark.django_db +def test_EligibilityVerifier_eligibility_start_template(model_EligibilityVerifier): + assert model_EligibilityVerifier.eligibility_start_template == "eligibility/start.html" + + @pytest.mark.django_db def test_EligibilityVerifier_eligibility_form_instance(model_EligibilityVerifier): model_EligibilityVerifier.eligibility_form_class = f"{__name__}.SampleFormClass"