示例#1
0
 def test_dni_search_not_found_regex(self):
     parser = DNIScumParser(DNI_OLD)
     result = parser.search(['ojete'], regex=True)
     self.assertResult(result, [], {'ojete': False}, {})
示例#2
0
 def test_dni_search_found(self):
     parser = DNIScumParser(DNI_OLD)
     result = parser.search(['maria del sagrario'])
     self.assertResult(result, [], {'maria del sagrario': True}, {})