aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-07-20 13:03:14 +0200
committerIlya Etingof <etingof@gmail.com>2019-07-20 13:03:14 +0200
commitb5eb18384659ef1da9f72158626c6779c1214679 (patch)
tree25d8af1491243fca0ad59ed03bb5c19ba96d1562
parent23608be1bc0ce8a4ac5fbaba92af905c88ea4ab6 (diff)
downloadpyasn1-modules-b5eb18384659ef1da9f72158626c6779c1214679.tar.gz
Fix up unit tests following previous commit
-rw-r--r--[-rwxr-xr-x]tests/test_rfc2634.py0
-rw-r--r--[-rwxr-xr-x]tests/test_rfc3560.py0
-rw-r--r--[-rwxr-xr-x]tests/test_rfc3709.py0
-rw-r--r--tests/test_rfc4073.py4
-rw-r--r--[-rwxr-xr-x]tests/test_rfc5035.py0
-rw-r--r--[-rwxr-xr-x]tests/test_rfc5083.py0
-rw-r--r--[-rwxr-xr-x]tests/test_rfc5480.py0
-rw-r--r--[-rwxr-xr-x]tests/test_rfc7191.py0
-rw-r--r--[-rwxr-xr-x]tests/test_rfc8226.py0
9 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_rfc2634.py b/tests/test_rfc2634.py
index c024173..c024173 100755..100644
--- a/tests/test_rfc2634.py
+++ b/tests/test_rfc2634.py
diff --git a/tests/test_rfc3560.py b/tests/test_rfc3560.py
index 33291d5..33291d5 100755..100644
--- a/tests/test_rfc3560.py
+++ b/tests/test_rfc3560.py
diff --git a/tests/test_rfc3709.py b/tests/test_rfc3709.py
index 7d9b54f..7d9b54f 100755..100644
--- a/tests/test_rfc3709.py
+++ b/tests/test_rfc3709.py
diff --git a/tests/test_rfc4073.py b/tests/test_rfc4073.py
index bdc04c4..f600920 100644
--- a/tests/test_rfc4073.py
+++ b/tests/test_rfc4073.py
@@ -11,7 +11,7 @@ import sys
from pyasn1.codec.der.decoder import decode as der_decode
from pyasn1.codec.der.encoder import encode as der_encode
-from pyasn1.type import univ
+from pyasn1.compat.octets import str2octs
from pyasn1_modules import pem
from pyasn1_modules import rfc2634
@@ -139,7 +139,7 @@ buWO3egPDL8Kf7tBhzjIKLw=
next_ci = ci['content']['content']
assert next_ci['contentType'] in rfc5652.cmsContentTypesMap.keys()
assert next_ci['contentType'] == rfc5652.id_data
- assert 'Content-Type: text' in next_ci['content']
+ assert str2octs('Content-Type: text') in next_ci['content']
for attr in ci['content']['attrs']:
assert attr['attrType'] in rfc5652.cmsAttributesMap.keys()
diff --git a/tests/test_rfc5035.py b/tests/test_rfc5035.py
index 1c605bc..1c605bc 100755..100644
--- a/tests/test_rfc5035.py
+++ b/tests/test_rfc5035.py
diff --git a/tests/test_rfc5083.py b/tests/test_rfc5083.py
index 5e3b47f..5e3b47f 100755..100644
--- a/tests/test_rfc5083.py
+++ b/tests/test_rfc5083.py
diff --git a/tests/test_rfc5480.py b/tests/test_rfc5480.py
index 7af8944..7af8944 100755..100644
--- a/tests/test_rfc5480.py
+++ b/tests/test_rfc5480.py
diff --git a/tests/test_rfc7191.py b/tests/test_rfc7191.py
index 36103bb..36103bb 100755..100644
--- a/tests/test_rfc7191.py
+++ b/tests/test_rfc7191.py
diff --git a/tests/test_rfc8226.py b/tests/test_rfc8226.py
index 19e7fc7..19e7fc7 100755..100644
--- a/tests/test_rfc8226.py
+++ b/tests/test_rfc8226.py