Skip to content

Commit bc689fd

Browse files
committed
Add missing verify argument to Cedula check_dgii()
1 parent 8283dbb commit bc689fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdnum/do/cedula.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def format(number):
177177
return '-'.join((number[:3], number[3:-1], number[-1]))
178178

179179

180-
def check_dgii(number, timeout=30): # pragma: no cover
180+
def check_dgii(number, timeout=30, verify=True): # pragma: no cover
181181
"""Lookup the number using the DGII online web service.
182182
183183
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
199199
# this function isn't automatically tested because it would require
200200
# network access for the tests and unnecessarily load the online service
201201
# we use the RNC implementation and change the rnc result to cedula
202-
result = rnc.check_dgii(number, timeout)
202+
result = rnc.check_dgii(number, timeout, verify)
203203
if result and 'rnc' in result:
204204
result['cedula'] = result.pop('rnc')
205205
return result

0 commit comments

Comments
 (0)