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