def test_get_death_year(self): author = Author(death_year=2000) self.assertEqual(author.get_death_year(), 2000)