Skip to content

Commit

Permalink
ajustes no requiments.txt para suportar versão pyOpenSSL 22.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
heronbrito committed Dec 23, 2022
1 parent 844a1bb commit 152c002
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ suds-requests4
defusedxml >= 0.7.1, < 1
eight >= 0.3.0, < 1
cryptography >= 2.1.4
pyOpenSSL >= 17.5.0, < 22
pyOpenSSL >= 17.5.0, < 22.1.0
certifi >= 2015.11.20.1
xmlsec >= 1.3.3
reportlab
Expand Down
4 changes: 4 additions & 0 deletions tests/test_nfse_paulistana.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,12 @@ def test_nfse_signature(self):
retorno = mock.MagicMock()
client.return_value = retorno
retorno.service.EnvioLoteRPS.return_value = "<xml></xml>"
print('retorno')
print(retorno)

retorno = envio_lote_rps(pfx, nfse=nfse)
print('retorno')
print(retorno)
# f = open(os.path.join(path, "paulistana_signature.xml"), "w")
# f.write(retorno["sent_xml"])
# f.close()
Expand Down

0 comments on commit 152c002

Please sign in to comment.