commit | 0a621bf5da576d7aab394e5bdc342e2e8b1cbaa2 | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Wed Apr 22 09:22:56 2015 -0500 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Wed Apr 22 13:48:39 2015 -0500 |
tree | 24b07b6643387f3a82ed5733ab8155e0612978ab | |
parent | bed07357a90237ee92cedba788066f87a63e34b6 [diff] [blame] |
return only an int for unsupported general name type, update docs
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py index c17beba..1283fca 100644 --- a/tests/test_x509_ext.py +++ b/tests/test_x509_ext.py
@@ -769,4 +769,4 @@ with pytest.raises(x509.UnsupportedGeneralNameType) as exc: cert.extensions - assert exc.value.type == "otherName" + assert exc.value.type == 0