def test_string_representation(self):
     ann = models.Animal(
         id=1,
         name='abcdee',
     )
     data = models.Fish(animal=ann,
                        average_temperature='22',
                        water_type='clean')
     self.assertEqual(str(data), data.animal.name)
 def test_string_representation(self):
     ann = models.Animal(
         id=1,
         name='abcdee',
     )
     data = models.WatchList(animal=ann,
                             condition='Normal',
                             location='sddsds',
                             observation_date='2/7/2020')
     self.assertEqual(str(data), data.animal.name)
 def test_string_representation(self):
     ann = models.Animal(
         id=1,
         name='abcdee',
     )
     data = models.Mammal(animal=ann,
                          gestational_period='22 moth',
                          mammal_category='speddd',
                          average_temperature='25c')
     self.assertEqual(str(data), data.animal.name)
 def test_string_representation(self):
     ann = models.Animal(
         id=1,
         name='abcdee',
     )
     data = models.Bird(animal=ann,
                        nest_construction='yes',
                        clutch_size='22',
                        wing_span='big',
                        fly_ability='no')
     self.assertEqual(str(data), data.animal.name)
 def test_string_representation(self):
     ann = models.Animal(
         id=1,
         name='abcdee',
     )
     data = models.Reptile(
         animal=ann,
         reproduction_type='birth',
         offspring_number=1,
         clutch_size='big',
     )
     self.assertEqual(str(data), data.animal.name)
 def test(self):
     animal = models.Animal(
         species='abcdde',
         name='abcdde',
     )
     dat = {
         'animal': animal,
         'condition': 'Normal',
         'location': 'sankh',
         'observation_date': '08/09/2020'
     }
     self.form(dat)
 def test13(self):
     animal = models.Animal(name='animal')
     dat = {
         'name': 'sudish',
         'existing_customer': 'yes',
         'official_id': 123456,
         'primary_contact': '09775432456',
         'secondary_contact': '8765433456',
         'address': 'samnkhamul',
         'web_address': 'www.youtube.com',
         'animal': animal,
         'sponsor_band': 'A',
         'total_fee': 34567,
         'agreement_period': 'june 1 to dec 5',
         'signage_area_percent': '1/2',
         'signage_photo': '',
         'note': ''
     }
     self.form(dat)