diff options
author | Andre Caron <andre.l.caron@gmail.com> | 2015-05-18 17:54:59 -0400 |
---|---|---|
committer | Andre Caron <andre.l.caron@gmail.com> | 2015-05-18 17:54:59 -0400 |
commit | f27e4f4f1a3c3ecebc6075e16f9b56eba1914303 (patch) | |
tree | a1141089228a05937eade6a0621dc1d14ae404ed | |
parent | beed2943aba6c3549f6a60b7a4d80a280f21ec67 (diff) | |
download | cryptography-f27e4f4f1a3c3ecebc6075e16f9b56eba1914303.tar.gz cryptography-f27e4f4f1a3c3ecebc6075e16f9b56eba1914303.tar.bz2 cryptography-f27e4f4f1a3c3ecebc6075e16f9b56eba1914303.zip |
Renames test cases.
-rw-r--r-- | tests/test_x509.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py index bef761e5..70d5d646 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -471,7 +471,7 @@ class TestRSACertificate(object): ), ] - def test_encode_pem(self, backend): + def test_public_bytes_pem(self, backend): # Load an existing CSR. request = _load_cert( os.path.join("x509", "requests", "rsa_sha1.pem"), @@ -498,7 +498,7 @@ class TestRSACertificate(object): x509.NameAttribute(x509.OID_COMMON_NAME, 'cryptography.io'), ] - def test_encode_der(self, backend): + def test_public_bytes_der(self, backend): # Load an existing CSR. request = _load_cert( os.path.join("x509", "requests", "rsa_sha1.pem"), @@ -525,7 +525,7 @@ class TestRSACertificate(object): x509.NameAttribute(x509.OID_COMMON_NAME, 'cryptography.io'), ] - def test_encode_invalid_encoding(self, backend): + def test_public_bytes_invalid_encoding(self, backend): request = _load_cert( os.path.join("x509", "requests", "rsa_sha1.pem"), x509.load_pem_x509_csr, |