def test_get_birth_year(self): author = Author(birth_year=1999) self.assertEqual(author.get_birth_year(), 1999)