Example #1
0
 def t_drop_emoji(self, raw):
     name = Name()
     assert name.clean(name._pre_clean(raw)) == "spiny norman"
Example #2
0
 def t_convert_unicode(self, raw):
     """This is handled by unidecode and should not be extensively tested"""
     assert Name._pre_clean(raw) == "mr eric praline"
Example #3
0
 def t_force_lower(self, raw):
     assert Name._pre_clean(raw) == "dinsdale"