summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-12-03 15:50:01 -0500
committerJeff Forcier <jeff@bitprophet.org>2019-12-03 15:50:04 -0500
commit6de985077d6b739f6b3cb49d1374248f9b546f75 (patch)
tree7d1204255dd9832965a57aa3f3e19217753f6274 /tests
parent78fd010db387c66d4c65d67e789953c1266aa06e (diff)
Rename new test key files for readability
Diffstat (limited to 'tests')
-rw-r--r--tests/test_dss_openssh.key (renamed from tests/test_dss_1k_o.key)0
-rw-r--r--tests/test_pkey.py4
-rw-r--r--tests/test_rsa_openssh.key (renamed from tests/test_rsa_2k_o.key)0
3 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dss_1k_o.key b/tests/test_dss_openssh.key
index 2a9f8922..2a9f8922 100644
--- a/tests/test_dss_1k_o.key
+++ b/tests/test_dss_openssh.key
diff --git a/tests/test_pkey.py b/tests/test_pkey.py
index a01acf6f..1ded7c4c 100644
--- a/tests/test_pkey.py
+++ b/tests/test_pkey.py
@@ -443,7 +443,7 @@ class KeyTest(unittest.TestCase):
def test_22_load_RSA_key_new_format(self):
key = RSAKey.from_private_key_file(
- _support("test_rsa_2k_o.key"), b"television"
+ _support("test_rsa_openssh.key"), b"television"
)
self.assertEqual("ssh-rsa", key.get_name())
self.assertEqual(PUB_RSA_2K_OPENSSH.split()[1], key.get_base64())
@@ -454,7 +454,7 @@ class KeyTest(unittest.TestCase):
def test_23_load_DSS_key_new_format(self):
key = DSSKey.from_private_key_file(
- _support("test_dss_1k_o.key"), b"television"
+ _support("test_dss_openssh.key"), b"television"
)
self.assertEqual("ssh-dss", key.get_name())
self.assertEqual(PUB_DSS_1K_OPENSSH.split()[1], key.get_base64())
diff --git a/tests/test_rsa_2k_o.key b/tests/test_rsa_openssh.key
index afc15f1c..afc15f1c 100644
--- a/tests/test_rsa_2k_o.key
+++ b/tests/test_rsa_openssh.key