feat: add description for test animal
This commit is contained in:
parent
6a7467bb67
commit
1e61961d48
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user