diff options
-rw-r--r-- | tests/test_do_cedula.py | 8 | ||||
-rw-r--r-- | tests/test_do_rnc.py | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/test_do_cedula.py b/tests/test_do_cedula.py index b1037c1..4141c30 100644 --- a/tests/test_do_cedula.py +++ b/tests/test_do_cedula.py @@ -36,6 +36,14 @@ class TestDGII(unittest.TestCase): """Test the web services provided by the the Dirección General de Impuestos Internos (DGII), the Dominican Republic tax department.""" + # Theses tests currently fail because the SOAP service at + # https://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?WSDL + # is no longer available. There is a new one at + # https://www.dgii.gov.do/ventanillaunica/ventanillaunica.asmx?WSDL + # but it has a different API and seems to require authentication. + # See https://github.com/arthurdejong/python-stdnum/pull/462 + # and https://github.com/arthurdejong/python-stdnum/issues/461 + @unittest.expectedFailure def test_check_dgii(self): """Test stdnum.do.cedula.check_dgii()""" # Test a normal valid number diff --git a/tests/test_do_rnc.py b/tests/test_do_rnc.py index 8d93f90..5c1531b 100644 --- a/tests/test_do_rnc.py +++ b/tests/test_do_rnc.py @@ -36,6 +36,14 @@ class TestDGII(unittest.TestCase): """Test the web services provided by the the Dirección General de Impuestos Internos (DGII), the Dominican Republic tax department.""" + # Theses tests currently fail because the SOAP service at + # https://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?WSDL + # is no longer available. There is a new one at + # https://www.dgii.gov.do/ventanillaunica/ventanillaunica.asmx?WSDL + # but it has a different API and seems to require authentication. + # See https://github.com/arthurdejong/python-stdnum/pull/462 + # and https://github.com/arthurdejong/python-stdnum/issues/461 + @unittest.expectedFailure def test_check_dgii(self): """Test stdnum.do.rnc.check_dgii()""" # Test a normal valid number @@ -58,6 +66,14 @@ class TestDGII(unittest.TestCase): result = rnc.check_dgii('132070801') self.assertEqual(result['rnc'], '132070801') + # Theses tests currently fail because the SOAP service at + # https://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?WSDL + # is no longer available. There is a new one at + # https://www.dgii.gov.do/ventanillaunica/ventanillaunica.asmx?WSDL + # but it has a different API and seems to require authentication. + # See https://github.com/arthurdejong/python-stdnum/pull/462 + # and https://github.com/arthurdejong/python-stdnum/issues/461 + @unittest.expectedFailure def test_search_dgii(self): """Test stdnum.do.rnc.search_dgii()""" # Search for some existing companies |