Beispiel #1
0
 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)
Beispiel #2
0
 def setUp(self):
     self.name = Name("John Doe fictitious husband of Jane Doe")
Beispiel #3
0
 def setUp(self):
     self.name = Name("George Herbert Walker Bush")
Beispiel #4
0
 def setUp(self):
     self.name = Name("Thurston Howell the 3rd")
Beispiel #5
0
 def setUp(self):
     self.name = Name("Otto von Bismark")
Beispiel #6
0
 def setUp(self):
     self.name = Name("James Polera")
Beispiel #7
0
 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)
Beispiel #8
0
 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)
Beispiel #9
0
 def setUp(self):
   self.name = Name("Bruce Wayne a/k/a Batman")