refactor: Simplify Adoption Notice Forms

This commit is contained in:
2025-06-16 23:32:09 +02:00
parent 8bd041d7ea
commit 4dd35c3866
3 changed files with 24 additions and 85 deletions

View File

@@ -1,5 +1,5 @@
from django.test import TestCase
from fellchensammlung.forms import AdoptionNoticeFormWithDateWidgetAutoAnimal
from fellchensammlung.forms import AdoptionNoticeFormAutoAnimal
from fellchensammlung.models import Species
from model_bakery import baker
@@ -21,5 +21,5 @@ class TestAdoptionNoticeFormWithDateWidgetAutoAnimal(TestCase):
"description": "Blaaaa",
"further_information": "https://notfellchen.org",
"save-and-add-another-animal": "Speichern"}
form = AdoptionNoticeFormWithDateWidgetAutoAnimal(data=form_data)
form = AdoptionNoticeFormAutoAnimal(data=form_data)
self.assertTrue(form.is_valid())