diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-03-01 21:04:31 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-03-01 21:04:31 -0600 |
commit | db9d97f94df125dfc684ae069ee1a2a54ac2d426 (patch) | |
tree | 87274187e90b16431473b6c06403e6142aaabdd1 /tests/hazmat/backends/test_openssl.py | |
parent | ab1b4236401b89320bda457117a8e6758c14e42f (diff) | |
download | cryptography-db9d97f94df125dfc684ae069ee1a2a54ac2d426.tar.gz cryptography-db9d97f94df125dfc684ae069ee1a2a54ac2d426.tar.bz2 cryptography-db9d97f94df125dfc684ae069ee1a2a54ac2d426.zip |
s/Format/PrivateFormat
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index 4f44f686..8ee9d246 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -504,7 +504,7 @@ class TestRSAPEMSerialization(object): with pytest.raises(ValueError): key.private_bytes( serialization.Encoding.PEM, - serialization.Format.PKCS8, + serialization.PrivateFormat.PKCS8, serialization.BestAvailableEncryption(password) ) @@ -513,6 +513,6 @@ class TestRSAPEMSerialization(object): with pytest.raises(ValueError): key.private_bytes( serialization.Encoding.DER, - serialization.Format.PKCS8, + serialization.PrivateFormat.PKCS8, serialization.NoEncryption() ) |