Skip to content

Commit

Permalink
Merge pull request reingart#74 from chazuttu/coverage_wscdc
Browse files Browse the repository at this point in the history
Coverage wscdc
  • Loading branch information
reingart authored Aug 15, 2021
2 parents d8c2ec8 + 946c708 commit 136bcba
Show file tree
Hide file tree
Showing 7 changed files with 946 additions and 15 deletions.
422 changes: 422 additions & 0 deletions tests/cassettes/test_wscdc/test_analizar_errores.yaml

Large diffs are not rendered by default.

85 changes: 74 additions & 11 deletions tests/cassettes/test_wscdc/test_inicializar.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,76 @@
interactions:
- request:
body: null
headers:
accept-encoding:
- gzip, deflate
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: GET
uri: https://wsaahomo.afip.gov.ar/ws/services/LoginCms?wsdl
response:
body:
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<wsdl:definitions targetNamespace=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\"
xmlns:apachesoap=\"http://xml.apache.org/xml-soap\" xmlns:impl=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\"
xmlns:intf=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\" xmlns:tns1=\"http://wsaa.view.sua.dvadac.desein.afip.gov\"
xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\" xmlns:wsdlsoap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n<!--WSDL created by Apache
Axis version: 1.4\nBuilt on Apr 22, 2006 (06:55:48 PDT)-->\n <wsdl:types>\n
\ <schema elementFormDefault=\"qualified\" targetNamespace=\"http://wsaa.view.sua.dvadac.desein.afip.gov\"
xmlns=\"http://www.w3.org/2001/XMLSchema\">\n <import namespace=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\"/>\n
\ <element name=\"loginCms\">\n <complexType>\n <sequence>\n <element
name=\"in0\" type=\"xsd:string\"/>\n </sequence>\n </complexType>\n
\ </element>\n <element name=\"loginCmsResponse\">\n <complexType>\n
\ <sequence>\n <element name=\"loginCmsReturn\" type=\"xsd:string\"/>\n
\ </sequence>\n </complexType>\n </element>\n </schema>\n <schema
elementFormDefault=\"qualified\" targetNamespace=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\"
xmlns=\"http://www.w3.org/2001/XMLSchema\">\n <complexType name=\"LoginFault\">\n
\ <sequence/>\n </complexType>\n <element name=\"fault\" type=\"impl:LoginFault\"/>\n
\ </schema>\n </wsdl:types>\n\n <wsdl:message name=\"loginCmsRequest\">\n\n
\ <wsdl:part element=\"tns1:loginCms\" name=\"parameters\">\n\n </wsdl:part>\n\n
\ </wsdl:message>\n\n <wsdl:message name=\"LoginFault\">\n\n <wsdl:part
element=\"impl:fault\" name=\"fault\">\n\n </wsdl:part>\n\n </wsdl:message>\n\n
\ <wsdl:message name=\"loginCmsResponse\">\n\n <wsdl:part element=\"tns1:loginCmsResponse\"
name=\"parameters\">\n\n </wsdl:part>\n\n </wsdl:message>\n\n <wsdl:portType
name=\"LoginCMS\">\n\n <wsdl:operation name=\"loginCms\">\n\n <wsdl:input
message=\"impl:loginCmsRequest\" name=\"loginCmsRequest\">\n\n </wsdl:input>\n\n
\ <wsdl:output message=\"impl:loginCmsResponse\" name=\"loginCmsResponse\">\n\n
\ </wsdl:output>\n\n <wsdl:fault message=\"impl:LoginFault\"
name=\"LoginFault\">\n\n </wsdl:fault>\n\n </wsdl:operation>\n\n
\ </wsdl:portType>\n\n <wsdl:binding name=\"LoginCmsSoapBinding\" type=\"impl:LoginCMS\">\n\n
\ <wsdlsoap:binding style=\"document\" transport=\"http://schemas.xmlsoap.org/soap/http\"/>\n\n
\ <wsdl:operation name=\"loginCms\">\n\n <wsdlsoap:operation soapAction=\"\"/>\n\n
\ <wsdl:input name=\"loginCmsRequest\">\n\n <wsdlsoap:body
use=\"literal\"/>\n\n </wsdl:input>\n\n <wsdl:output name=\"loginCmsResponse\">\n\n
\ <wsdlsoap:body use=\"literal\"/>\n\n </wsdl:output>\n\n
\ <wsdl:fault name=\"LoginFault\">\n\n <wsdlsoap:fault name=\"LoginFault\"
use=\"literal\"/>\n\n </wsdl:fault>\n\n </wsdl:operation>\n\n
\ </wsdl:binding>\n\n <wsdl:service name=\"LoginCMSService\">\n\n <wsdl:port
binding=\"impl:LoginCmsSoapBinding\" name=\"LoginCms\">\n\n <wsdlsoap:address
location=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\"/>\n\n </wsdl:port>\n\n
\ </wsdl:service>\n\n</wsdl:definitions>\n"
headers:
Content-Type:
- text/xml;charset=utf-8
Date:
- Mon, 26 Jul 2021 15:06:33 GMT
Set-Cookie:
- TS01b14f84=0145b27a97ed7f32e2a07b14da099afaabafb0e2b1b08f7e42475b7f5d64a956180af4cfd5;
Path=/
Transfer-Encoding:
- chunked
status:
code: 200
message: OK
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:loginCms>\n <in0>MIIG/AYJKoZIhvcNAQcCoIIG7TCCBukCAQExDzANBglghkgBZQMEAgEFADCCASAG\nCSqGSIb3DQEHAaCCAREEggENPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0i\nVVRGLTgiPz48bG9naW5UaWNrZXRSZXF1ZXN0IHZlcnNpb249IjEuMCI+PGhlYWRl\ncj48dW5pcXVlSWQ+MTYyNDE5NDIzNjwvdW5pcXVlSWQ+PGdlbmVyYXRpb25UaW1l\nPjIwMjEtMDYtMjBUMTM6MzM6NTY8L2dlbmVyYXRpb25UaW1lPjxleHBpcmF0aW9u\nVGltZT4yMDIxLTA2LTIwVDIzOjMzOjU2PC9leHBpcmF0aW9uVGltZT48L2hlYWRl\ncj48c2VydmljZT53c2NkYzwvc2VydmljZT48L2xvZ2luVGlja2V0U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TMhnea332cwLdApMDU5uMYVa6dpd58Rb36UTDvJc8OHV7eShgGSajEZFkvuwj\nssnFka1A5LbyE1CNAJnn/nWH84uo6dDj59Em1TgXDQ+g/RsbiZQxggJWMIICUgIB\nATBEMDgxGjAYBgNVBAMMEUNvbXB1dGFkb3JlcyBUZXN0MQ0wCwYDVQQKDARBRklQ\nMQswCQYDVQQGEwJBUgIIHJrQuzZhH+gwDQYJYIZIAWUDBAIBBQCggeQwGAYJKoZI\nhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMjEwNjIwMTgzMzU2\nWjAvBgkqhkiG9w0BCQQxIgQgc+y2idHgAm3HsbLP9iDguoEL5JD6WMb3JmQFioWL\nxOUweQYJKoZIhvcNAQkPMWwwajALBglghkgBZQMEASowCwYJYIZIAWUDBAEWMAsG\nCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcN\nAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEggEA\nM4u89d5n7Knyz6az0gU+xci+2u/jaJKPAUaO3taoN9uqTOncNeFOAWDV/IXAMybu\nY0sMonJmbNFccn7zaXHF5au1ECpmMMSOvMzKidVSZpNbhuxCpItMmBZZSel6Fx6F\npddOxiQfYdDrCZo5a2/ioLjfx98o6sxvGCxyw4x3ACHaLArbSBiJnyjloZN852h5\nze1DpHhWVI0eaEc6JvikPVcgGi992lIO4LNT6VJWxp6cjUlnml3Qig253FNvUwk6\nMIAX6unO1pFXH/xCS5/sJ3c8paUKEi96H9q1LguLXUC+XR4kccFJc4pyxehQoQ6g\nGv649XONG2L9ngn7F8Sp7w==\n\n</in0></ser:loginCms>\n</soapenv:Body>\n</soapenv:Envelope>"
\ <ser:loginCms>\n <in0>MIIG+QYJKoZIhvcNAQcCoIIG6jCCBuYCAQExDzANBglghkgBZQMEAgEFADCCASAG\nCSqGSIb3DQEHAaCCAREEggENPD94b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8eb0uKJOLwx6e\nSqc8OBGaW+N16rB8rLkVmTaOJ1yzsxeYTEZMleEZ6CNQoaIGdmCmu1l2S1+c1qB/\nvPyXUmy2XEY5mTI+7sCXq4tUAxHI3kwp46SzNFUMrIgfTmU24Xfpd7oPytLUTF2I\nbciIuSTKpuCz4UP9LT5EGYDtWGATltlFOjUl4bjWq/4KTogqbByQkew97XgL+0Xg\nfGZdJgpPG3khasJxHg==\n\n</in0></ser:loginCms>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '2726'
- '2722'
content-type:
- text/xml; charset="UTF-8"
soapaction:
Expand All @@ -24,19 +87,19 @@ interactions:
version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;\n&lt;loginTicketResponse
version=&quot;1.0&quot;&gt;\n &lt;header&gt;\n &lt;source&gt;CN=wsaahomo,
O=AFIP, C=AR, SERIALNUMBER=CUIT 33693450239&lt;/source&gt;\n &lt;destination&gt;SERIALNUMBER=CUIT
20267565393, CN=reingart2019pub&lt;/destination&gt;\n &lt;uniqueId&gt;3226739509&lt;/uniqueId&gt;\n
\ &lt;generationTime&gt;2021-06-20T15:33:58.185-03:00&lt;/generationTime&gt;\n
\ &lt;expirationTime&gt;2021-06-21T03:33:58.185-03:00&lt;/expirationTime&gt;\n
\ &lt;/header&gt;\n &lt;credentials&gt;\n &lt;token&gt;PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgZHN0PSJDTj13c2NkYywgTz1BRklQLCBDPUFSIiB1bmlxdWVfaWQ9IjIyMTQxNjc2MTAiIGdlbl90aW1lPSIxNjI0MjEzOTc4IiBleHBfdGltZT0iMTYyNDI1NzIzOCIvPgogICAgPG9wZXJhdGlvbiB0eXBlPSJsb2dpbiIgdmFsdWU9ImdyYW50ZWQiPgogICAgICAgIDxsb2dpbiBlbnRpdHk9IjMzNjkzNDUwMjM5IiBzZXJ2aWNlPSJ3c2NkYyIgdWlkPSJTRVJJQUxOVU1CRVI9Q1VJVCAyMDI2NzU2NTM5MywgQ049cmVpbmdhcnQyMDE5cHViIiBhdXRobWV0aG9kPSJjbXMiIHJlZ21ldGhvZD0iMjIiPgogICAgICAgICAgICA8cmVsYXRpb25zPgogICAgICAgICAgICAgICAgPHJlbGF0aW9uIGtleT0iMjAyNjc1NjUzOTMiIHJlbHR5cGU9IjQiLz4KICAgICAgICAgICAgPC9yZWxhdGlvbnM+CiAgICAgICAgPC9sb2dpbj4KICAgIDwvb3BlcmF0aW9uPgo8L3Nzbz4K&lt;/token&gt;\n
\ &lt;sign&gt;nhfLjDQoBGYulsW7JhT+xDHcIEHtNB2qm/lv34aSTm1OqyZIXjHfLJTz0/X5xbHLrYAkdGQe0FYBoCMhL1NKVe4izP7hkPyDDeU2VgVVFktAc0xlnu4MXp6O9ioc9fGyT6iTb4TFbPNI9wwd+mjoCI8Yj+QASRS+opqL5zjApaQ=&lt;/sign&gt;\n
20267565393, CN=reingart2021&lt;/destination&gt;\n &lt;uniqueId&gt;3087994628&lt;/uniqueId&gt;\n
\ &lt;generationTime&gt;2021-07-26T12:06:34.577-03:00&lt;/generationTime&gt;\n
\ &lt;expirationTime&gt;2021-07-27T00:06:34.577-03:00&lt;/expirationTime&gt;\n
\ &lt;/header&gt;\n &lt;credentials&gt;\n &lt;token&gt;PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgZHN0PSJDTj13c2NkYywgTz1BRklQLCBDPUFSIiB1bmlxdWVfaWQ9IjM4MzI1NjU2NzgiIGdlbl90aW1lPSIxNjI3MzExOTM0IiBleHBfdGltZT0iMTYyNzM1NTE5NCIvPgogICAgPG9wZXJhdGlvbiB0eXBlPSJsb2dpbiIgdmFsdWU9ImdyYW50ZWQiPgogICAgICAgIDxsb2dpbiBlbnRpdHk9IjMzNjkzNDUwMjM5IiBzZXJ2aWNlPSJ3c2NkYyIgdWlkPSJTRVJJQUxOVU1CRVI9Q1VJVCAyMDI2NzU2NTM5MywgQ049cmVpbmdhcnQyMDIxIiBhdXRobWV0aG9kPSJjbXMiIHJlZ21ldGhvZD0iMjIiPgogICAgICAgICAgICA8cmVsYXRpb25zPgogICAgICAgICAgICAgICAgPHJlbGF0aW9uIGtleT0iMjAyNjc1NjUzOTMiIHJlbHR5cGU9IjQiLz4KICAgICAgICAgICAgPC9yZWxhdGlvbnM+CiAgICAgICAgPC9sb2dpbj4KICAgIDwvb3BlcmF0aW9uPgo8L3Nzbz4K&lt;/token&gt;\n
\ &lt;sign&gt;ptwqJpH93NvQUshFtiVVgLy+9zZYHkKKP2A9MHiybb2MM9AhBD+hnrFuZ5BFeOBk1KZ4WE4Xz+zePA4Y/bbuiHvhk0bjLXaqmbFTZVVwbVZPjMqIDHwo5OBNqNpLPdyEQvZ6Z3wCCuoYN6rwwrHikw9trJeOrQnLugSloaY0uk8=&lt;/sign&gt;\n
\ &lt;/credentials&gt;\n&lt;/loginTicketResponse&gt;\n</loginCmsReturn></loginCmsResponse></soapenv:Body></soapenv:Envelope>"
headers:
Content-Type:
- text/xml;charset=utf-8
Date:
- Sun, 20 Jun 2021 18:33:58 GMT
- Mon, 26 Jul 2021 15:06:34 GMT
Set-Cookie:
- TS01b14f84=0145b27a97e7a9959fc25e2048b59b8235083272123a488d61510d949aac06bf02cc8786fe;
- TS01b14f84=0145b27a9713d7e090dac05ad5ec92651c23faf449d43d0dcc26270054c739b7db31ee931f;
Path=/
Transfer-Encoding:
- chunked
Expand Down Expand Up @@ -333,13 +396,13 @@ interactions:
Content-Type:
- text/xml; charset=utf-8
Date:
- Sun, 20 Jun 2021 18:34:00 GMT
- Mon, 26 Jul 2021 15:06:37 GMT
Expect-CT:
- enforce
MicrosoftOfficeWebServer:
- 5.0_Pub
Set-Cookie:
- TS01983a04=01439f1ddfd35dbcbbf825352b6b1061ff8edd7704ce23cfcbcb2fa696634bb6a67b071da9;
- TS01983a04=01439f1ddfe9cb6f7481e7b06831f9702cfb28fd3814771ed8e3e8cdc145e6a2806d66548a;
Path=/
Strict-Transport-Security:
- nosniff
Expand Down
57 changes: 57 additions & 0 deletions tests/cassettes/test_wscdc/test_main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n<soap:Header/>\n<soap:Body>\n
\ \n</soap:Body>\n</soap:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '269'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"http://servicios1.afip.gob.ar/wscdc/ComprobanteDummy"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://wswhomo.afip.gov.ar/WSCDC/service.asmx
response:
body:
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><FEHeaderInfo
xmlns="http://servicios1.afip.gob.ar/wscdc/"><ambiente>HomologacionExterno
- efa</ambiente><fecha>2021-07-22T18:48:13.6756748-03:00</fecha><id>2.0.2.0</id></FEHeaderInfo></soap:Header><soap:Body><ComprobanteDummyResponse
xmlns="http://servicios1.afip.gob.ar/wscdc/"><ComprobanteDummyResult><AppServer>OK</AppServer><DbServer>OK</DbServer><AuthServer>OK</AuthServer></ComprobanteDummyResult></ComprobanteDummyResponse></soap:Body></soap:Envelope>
headers:
Cache-Control:
- private, max-age=0
Content-Length:
- '679'
Content-Type:
- text/xml; charset=utf-8
Date:
- Thu, 22 Jul 2021 21:48:13 GMT
Expect-CT:
- enforce
MicrosoftOfficeWebServer:
- 5.0_Pub
Set-Cookie:
- TS01983a04=01439f1ddfd12e25d7171f5fa5593e0f3d3c9d6845a4b53ccb7cb9f820b693ce3674154ad0;
Path=/
Strict-Transport-Security:
- nosniff
X-AspNet-Version:
- 2.0.50727
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- ASP.NET
X-Xss-Protection:
- 1; mode=block
status:
code: 200
message: OK
version: 1
Loading

0 comments on commit 136bcba

Please sign in to comment.