wrote some tests

This commit is contained in:
Gunther Weissenbaeck 2024-05-21 22:44:24 +02:00
parent 5a32c980ad
commit cc16f0ad3a
4 changed files with 88 additions and 4 deletions

View file

@ -1,3 +1,15 @@
from django.test import TestCase
# Create your tests here.
class BirdTestCase(TestCase):
def setUp(self):
Bird.objects.create(
name="Vogel 1",
species="Art 1",
aviary=Aviary.objects.create(
description="Voliere 1",
condition="Offen",
last_ward_round="2021-01-01",
comment="Test",
),
date_of_birth="2020-01-01