diff options
Diffstat (limited to 'stdnum/do')
-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 |