diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-08-21 15:11:21 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-08-21 15:11:21 -0700 |
commit | 681ff029b124faffdbb11ada646fab10aba83e55 (patch) | |
tree | 8e21f09551b72e95b1424f8ecf5f71155e35aeea | |
parent | 5e999f16a7d68638febb225e08f921ce3ecafe5f (diff) | |
download | paramiko-681ff029b124faffdbb11ada646fab10aba83e55.tar.gz |
Namespacing
-rw-r--r-- | tests/test_certs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_certs.py b/tests/test_certs.py index a0ebff5e..f9b2eddd 100644 --- a/tests/test_certs.py +++ b/tests/test_certs.py @@ -17,7 +17,7 @@ PUB_RSA_CERT = 'ssh-rsa-cert-v01@openssh.com AAAAHHNzaC1yc2EtY2VydC12MDFAb3BlbnN class RSACertTests(unittest.TestCase): - def test_load_rsa_cert(self): + def test_load(self): cert = RSACert( filename=test_path('test_rsa.key'), cert_file_obj=StringIO(PUB_RSA_CERT), @@ -29,7 +29,7 @@ class RSACertTests(unittest.TestCase): ) self.assertTrue(cert.verify_certificate_signature()) - def test_load_rsa_cert_password(self): + def test_load_with_password(self): cert = RSACert( filename=test_path('test_rsa_password.key'), cert_file_obj=StringIO(PUB_RSA_CERT), @@ -42,7 +42,7 @@ class RSACertTests(unittest.TestCase): ) self.assertTrue(cert.verify_certificate_signature()) - def test_sign_rsa_cert(self): + def test_sign(self): cert = RSACert( filename=test_path('test_rsa.key'), cert_file_obj=StringIO(PUB_RSA_CERT), @@ -59,7 +59,7 @@ class RSACertTests(unittest.TestCase): pub = cert.get_public_key() self.assertTrue(pub.verify_ssh_sig(b'ice weasels', msg)) - def test_compare_rsa_cert(self): + def test_compare(self): cert_with_private_key = RSACert( filename=test_path('test_rsa.key'), cert_file_obj=StringIO(PUB_RSA_CERT), |