def setUp(self): """Name with quoted alias""" self.name = Name('Philip Francis "The Scooter" Rizzuto, deceased') self.assertTrue("Philip" == self.name.first_name) self.assertTrue("Rizzuto" == self.name.last_name) self.assertTrue("Francis" == self.name.middle_name) self.assertTrue('"The Scooter"' == self.name.aliases)
def setUp(self): self.name = Name("John Doe fictitious husband of Jane Doe")
def setUp(self): self.name = Name("George Herbert Walker Bush")
def setUp(self): self.name = Name("Thurston Howell the 3rd")
def setUp(self): self.name = Name("Otto von Bismark")
def setUp(self): self.name = Name("James Polera")
def setUp(self): """Name with misplaced apostrophe""" self.name = Name("John O' Hurley") self.assertTrue("John" == self.name.first_name) self.assertTrue("O'Hurley" == self.name.last_name)
def setUp(self): """Long name with Prefixes Last Name""" self.name = Name("Saleh ibn Tariq ibn Khalid al-Fulan") self.assertTrue("Saleh" == self.name.first_name) self.assertTrue("ibn Tariq ibn Khalid al-Fulan" == self.name.last_name)
def setUp(self): self.name = Name("Bruce Wayne a/k/a Batman")