feat: add description for test animal

This commit is contained in:
moanos [he/him] 2024-04-14 20:57:58 +02:00
parent 6a7467bb67
commit 1e61961d48

View File

@ -39,7 +39,11 @@ class Command(BaseCommand):
cat = baker.make(Species, name="Katze") cat = baker.make(Species, name="Katze")
rat = baker.make(Species, name="Farbratte") rat = baker.make(Species, name="Farbratte")
rat1 = baker.make(Animal, name="Rat1", adoption_notice=adoption1, species=rat) rat1 = baker.make(Animal,
name="Rat1",
adoption_notice=adoption1,
species=rat,
description="Eine unglaublich süße Ratte")
rat2 = baker.make(Animal, name="Rat2", adoption_notice=adoption1, species=rat) rat2 = baker.make(Animal, name="Rat2", adoption_notice=adoption1, species=rat)
cat1 = baker.make(Animal, name="Cat1", adoption_notice=adoption2, species=cat) cat1 = baker.make(Animal, name="Cat1", adoption_notice=adoption2, species=cat)