def test_check_person_not_found(self): parser = DNIScumParser(DNI_NEW) self.assertFalse(parser.check_person({'name': 'jose', 'surnames': 'martinez dorado'}))
def test_check_person_found(self): parser = DNIScumParser(DNI_NEW) self.assertTrue(parser.check_person({'name': 'ramon', 'surnames': 'alvarez dorado'}))