From db9d97f94df125dfc684ae069ee1a2a54ac2d426 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 1 Mar 2015 21:04:31 -0600 Subject: s/Format/PrivateFormat --- tests/hazmat/backends/test_openssl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/hazmat/backends/test_openssl.py') 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() ) -- cgit v1.2.3