File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments