Skip to content

Commit 292f4ed

Browse files
committed
WSAA: remove m2crypto from tests
Signed-off-by: Mariano Reingart <reingart@gmail.com>
1 parent 9231715 commit 292f4ed

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

tests/test_wsaa.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,7 @@
2121
from pyafipws.wsaa import WSAA
2222
from pyafipws import wsaa as at
2323

24-
try:
25-
import M2Crypto as m2
26-
except ImportError:
27-
m2 = None
28-
29-
try:
30-
import cryptography as crypt
31-
except ImportError:
32-
crypt = None
33-
24+
import cryptography as crypt
3425

3526
CERT = "reingart.crt"
3627
PKEY = "reingart.key"
@@ -50,7 +41,7 @@ def test_create_tra():
5041

5142

5243
# Si esta instalado m2crypto o cryptography.
53-
if m2 or crypt:
44+
if crypt:
5445

5546
def test_sign_tra_cript():
5647
"""Firmar tra con las credenciales."""

0 commit comments

Comments
 (0)