wrote some tests
This commit is contained in:
parent
5a32c980ad
commit
cc16f0ad3a
4 changed files with 88 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue