aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509_ext.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-04-22 09:22:56 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-04-22 13:48:39 -0500
commit0a621bf5da576d7aab394e5bdc342e2e8b1cbaa2 (patch)
tree24b07b6643387f3a82ed5733ab8155e0612978ab /tests/test_x509_ext.py
parentbed07357a90237ee92cedba788066f87a63e34b6 (diff)
downloadcryptography-0a621bf5da576d7aab394e5bdc342e2e8b1cbaa2.tar.gz
cryptography-0a621bf5da576d7aab394e5bdc342e2e8b1cbaa2.tar.bz2
cryptography-0a621bf5da576d7aab394e5bdc342e2e8b1cbaa2.zip
return only an int for unsupported general name type, update docs
Diffstat (limited to 'tests/test_x509_ext.py')
-rw-r--r--tests/test_x509_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py
index c17beba5..1283fca7 100644
--- a/tests/test_x509_ext.py
+++ b/tests/test_x509_ext.py
@@ -769,4 +769,4 @@ class TestRSASubjectAlternativeNameExtension(object):
with pytest.raises(x509.UnsupportedGeneralNameType) as exc:
cert.extensions
- assert exc.value.type == "otherName"
+ assert exc.value.type == 0