def test_shortcut_for_dog(self): self.assertEquals( Animal('Doggy', Animal.DOG), Animal.create_dog('Doggy') )