aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-02 22:31:47 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-02 22:31:47 -0500
commitf506bca3d2bb449c3889cbbaba11749304e81563 (patch)
treef3b9206790a07fe1ec7d0ef5eca6dc6fd7f529e6 /tests
parent3e6d558d1b845cf2df31efec08235b15998174d4 (diff)
downloadcryptography-f506bca3d2bb449c3889cbbaba11749304e81563.tar.gz
cryptography-f506bca3d2bb449c3889cbbaba11749304e81563.tar.bz2
cryptography-f506bca3d2bb449c3889cbbaba11749304e81563.zip
updates based on review feedback
Diffstat (limited to 'tests')
-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 711b6b7e..0e5cab50 100644
--- a/tests/test_x509_ext.py
+++ b/tests/test_x509_ext.py
@@ -992,7 +992,7 @@ class TestExtendedKeyUsageExtension(object):
class TestAccessDescription(object):
def test_invalid_access_method(self):
- with pytest.raises(TypeError):
+ with pytest.raises(ValueError):
x509.AccessDescription("notanoid", x509.DNSName(u"test"))
def test_invalid_access_location(self):