1 parent 9231715 commit 292f4edCopy full SHA for 292f4ed
1 file changed
tests/test_wsaa.py
@@ -21,16 +21,7 @@
21
from pyafipws.wsaa import WSAA
22
from pyafipws import wsaa as at
23
24
-try:
25
- import M2Crypto as m2
26
-except ImportError:
27
- m2 = None
28
-
29
30
- import cryptography as crypt
31
32
- crypt = None
33
+import cryptography as crypt
34
35
CERT = "reingart.crt"
36
PKEY = "reingart.key"
@@ -50,7 +41,7 @@ def test_create_tra():
50
41
51
42
52
43
# Si esta instalado m2crypto o cryptography.
53
-if m2 or crypt:
44
+if crypt:
54
45
55
46
def test_sign_tra_cript():
56
47
"""Firmar tra con las credenciales."""
0 commit comments