diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2025-04-21 23:27:41 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2025-04-21 23:28:08 +0200 |
commit | bc689fdddfb9dfa5ba60ad7bd08fb2533086d3cb (patch) | |
tree | 6b5cda43d62fc99b779660753867fb82aac0b918 | |
parent | 8283dbb08dd5e8c720a0ece468b051a921334a07 (diff) |
-rw-r--r-- | stdnum/do/cedula.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdnum/do/cedula.py b/stdnum/do/cedula.py index 7cf4627..5851b92 100644 --- a/stdnum/do/cedula.py +++ b/stdnum/do/cedula.py @@ -177,7 +177,7 @@ def format(number): return '-'.join((number[:3], number[3:-1], number[-1])) -def check_dgii(number, timeout=30): # pragma: no cover +def check_dgii(number, timeout=30, verify=True): # pragma: no cover """Lookup the number using the DGII online web service. This uses the validation service run by the the Dirección General de @@ -199,7 +199,7 @@ def check_dgii(number, timeout=30): # pragma: no cover # this function isn't automatically tested because it would require # network access for the tests and unnecessarily load the online service # we use the RNC implementation and change the rnc result to cedula - result = rnc.check_dgii(number, timeout) + result = rnc.check_dgii(number, timeout, verify) if result and 'rnc' in result: result['cedula'] = result.pop('rnc') return result |