Skip to content

Commit

Permalink
test(models): assert the default eligibility_start_template
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Aug 6, 2024
1 parent f8156e5 commit 8880a3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/pytest/core/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8880a3e

Please sign in to comment.