def test_verbose_name_abbreviation(self): # if a word is an abbreviation already, don't title case it! osd = DogOwner._get_field_title("ownership_start_date") self.assertEqual(osd, "OSD")
def test_verbose_name_abbreviation(self): # if a word is an abbreviation already, don't title case it! osd = DogOwner._get_field_title("ownership_start_date") self.assertEqual(osd, "OSD")
def test_get_foreign_key_or_free_text_title(self): dog_title = DogOwner._get_field_title("dog") self.assertEqual(dog_title, "Dog")
def test_get_foreign_key_or_free_text_title(self): dog_title = DogOwner._get_field_title("dog") self.assertEqual(dog_title, "Dog")